Ah yes - that is pretty much how it works, except on “instantaneous min” instead of average.
Basically, the current implementation winds down the timeout if it sees lower latencies.
So if you have a typical latency of <0.5s, then you’ll get warned if we see a ping take 1s.
At that point, we go “Oh, slowing down”, and wind the timeout up to 2s.
It will flash up “slow internet” if it sees that, but the sign will go away again if it is stable for you at the slow speed.
Rinse and repeat. If your connection gets faster again, we wind the timeout back again.
2 Likes
The latest implementation of this warning is now on Beta.
This includes OGS checking and warning if you have high latency and are playing a live game that has a time control comparable to your latency.
Times when you will get warned:
- If you are disconnected unexpectedly from the OGS game server while on an OGS page
- If your latency is ridiculously high (>15s)
- If your latency is increasing (double what we measured before)
- You are only warned while it is “going bad”, if it gets stable the warning goes away
- If your latency is comparable to the time-setting in your game
- You will be warned while you’re in a game when this is the case
If you’re on the Game page, the warning is a popup thing.
If you’re not on the Game page, the warning is a teeny little red indicator in the top right.
If you have dodgy internet, or are worried whether this thing will be a hassle for any reason, please do try it out on beta and let us know.
5 Likes
Trying on beta vs on main server (both with experimental features on):
On beta I don’t get the warning anymore while on the main server I get slow internet once in a while, especially on profile and home page. It does show up as disconnected if I turn off wifi so it is working.
In the new version, does “Slow internet” still exist or is it only “Disconnected”? I couldn’t get the former to appear at all.
I like the more discreet notification on non-game pages.
I will test it again when my connection is worse, since it is actually quite reasonable at the moment.
Overall it is usable for me now and thanks again for putting in the effort to change it.
3 Likes
Thanks for checking it out - sounds promising/.
“Slow internet” does still exist.
You would see it if either:
- Your latency is >15s (stays turned on in that case)
or
- We measure a latency that is twice as bad as one we previously measured
- Flashes on in this case, goes away if the latency remains stable (but slower).
or
- You start playing live with a (stable) latency that is greater than the time-setting implies (*).
- Stays on, in this case, until the game stops, then goes away.
*: for example, if you have a latency of 6s and you start playing blitz with 5s byo-yomi
1 Like
Tried it again, multiple momentary pop-ups on main server, only a single one on beta on first opening the homepage, none on subsequent navigation.
Also just for another point of comparison - if I manually disconnect, the disconnected warning appears about a second before my browser (Chrome on Android 12) shows a not connected sign, and Chrome also gives back online maybe half a second faster than OGS. All comparisons being made with the beta server.
So OGS warning is a bit quicker/more sensitive than Chrome to put up the warning, but in the same ballpark. Seems reasonable given the danger of timeout.
1 Like
The latest is deployed on the main server now, under “experimental”.
You need to reload the page to pick up the latest.
2 Likes