Page 1 of 1

Game lags for concurrent requests

Posted: 26 Nov 2016, 11:38
by moonlife
Hello,

My game works fine for a few users, but when user count rises above 10-15, all users encounter delay and lag in game.

I've thought that it's a memory leak, but thread count doesn't increase enormously. While there are 75-80 threads, users may experience delay. But it doesn't happen for a few concurrent users.

I guess the reason behind this issue is multiple concurrent requests at a time from multiple users. But if it's that so, how MMO's work properly?

I'm using SmartFox with default settings.

Thanks for any help.

Re: Game lags for concurrent requests

Posted: 26 Nov 2016, 17:09
by Lapo
Hi,
no the server can deal with tens of thousands of concurrent requests, provided enough resources.
My game works fine for a few users, but when user count rises above 10-15, all users encounter delay and lag in game.
What is the packet rate of a single client. In other words how many packets per second are you sending?
Are these 10-15 players all in the same Room?
What Room type is it?

Is the problem appearing in a local network test or online?
If the latter where is the game hosted? E.g. a dedicated server, cloud, home DSL?

thanks