Forum Games High disconnecting rate

Discussion relating to game development with Unity

High disconnecting rate

Postby jyk » May 13th, 2017, 4:25 pm

The disconnecting rate is rising recently. It used to be 5% and is nearly 15% now. What's wrong with that?
jyk
Paid Member
 
Posts: 25
Joined: October 10th, 2016, 7:27 am

Re: High disconnecting rate

Postby Henrik » May 17th, 2017, 3:16 am

Hey jyk,

How do you measure the disconnect rate?

Your game has been growing quite a bit over the last month, congratulations! Have you perhaps also had a shift in the underlying users? Maybe there's more of your users on mobile internet than before?
Henrik
.IO
 
Posts: 1832
Joined: January 4th, 2010, 1:53 pm

Re: High disconnecting rate

Postby jyk » May 18th, 2017, 5:55 am

But the rate in the US is also very high. If your network node is located in the US, how can that happened? Do you have any other network nodes located somewhere else?
What's more, what does dedicated server mean? Does it have some relationship with the disconnect problem?
jyk
Paid Member
 
Posts: 25
Joined: October 10th, 2016, 7:27 am

Re: High disconnecting rate

Postby Henrik » May 19th, 2017, 5:59 am

The disconnect rate is dependent on the quality of each user's connection to the rest of the internet, not the location of the user.

Connections from the game client to the multiplayer servers are persistent TCP connections, and if anything happens to the user's internet, that connection dies, which results in both sides of your game seeing it as if the user disconnected. If the user is on mobile internet and walked into an elevator, if the user has a crappy cable modem that restarted, if the user switched from one wifi network to another, or if any other multitude of things happens to disrupt it, you get a disconnect.

It's just a fact of life, and you have to make sure your game can handle it somehow. What your game needs to do and can do depend on the mechanics of your game. The simplest way of dealing it is to treat a disconnect as if the user quit the game normally, so you can save the user's latest state or something. When the user re-connects, treat it as the user starting a completely new session. More complicated ways of dealing with it would involve trying to re-connect to the same room as before, and send the current state of the game to the user so the client can be re-synchronized.
Henrik
.IO
 
Posts: 1832
Joined: January 4th, 2010, 1:53 pm

Re: High disconnecting rate

Postby jyk » June 21st, 2017, 10:21 am

Recently, the disconnecting rate is good in countries like the US and the UK but is awful in Pakistan,India and some other countries. Does your network node only locate in developed countries like the US?
jyk
Paid Member
 
Posts: 25
Joined: October 10th, 2016, 7:27 am


Return to Games



cron