timhutton / geofun

Exploring location-based fun
2 stars 0 forks source link

Game slows down, becomes unresponsive #14

Open timhutton opened 7 years ago

timhutton commented 7 years ago

Uncleared items on map?

rawles commented 7 years ago

I should add logging to the server to better understand its capacity in terms of the number of users and the number of objects. Perhaps it got overloaded yesterday.

rawles commented 7 years ago

I've just added object counts (by type), the current CPU load on the server, and a running count of each type of call. I should have done this yesterday...

timhutton commented 7 years ago

Is a client-side issue, because refreshing the page immediately fixes the problem.

Seems to only happen when in low-bandwidth situation (can't repro on wifi so far), so likely is waiting for URL send/receive, then compounding by fixed timers. Instead try throttling down when responses take too long or fail.