We encountered very high disconnect rate in our game(10%), we define "disconnect" in this way:
- Players join the room
- Each player send a heartbeat message(every 1 second) to PlayerIO server and get response from PlayerIO server.
- If we can get response in 5 seconds(response timestamp - send timestamp < 5 seconds), we say the connection is ok, otherwise we say user disconnected. We will pop up a "reconnecting" notes to user.
As we tested, we found the "disconnect" issue is caused by server response blocking. I mean sometimes the heartbeat got no response in 10 senconds and then suddenly got 10 responses in 1 second.
My questions are:
(1) Is this behaviour normal or abnormal? does it behave as design?
(2) How should client side check whether the connection is ok? We did (as described above) correctly or not?
We are "Pro" custom of PlayerIO, so I asked help from PlayerIO many times, but get no response, can anyone in the forum help me? Is the PlayerIO service business still in running?