Game lags for concurrent requests

Post here your questions about the Java client / Android API for SFS2X

Moderators: Lapo, Bax

moonlife
Posts: 10
Joined: 26 Sep 2016, 08:22

Game lags for concurrent requests

Postby moonlife » 26 Nov 2016, 11:38

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.
User avatar
Lapo
Site Admin
Posts: 20217
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Game lags for concurrent requests

Postby Lapo » 26 Nov 2016, 17:09

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
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X Java / Android API”

Who is online

Users browsing this forum: No registered users and 1 guest