ChessCube Lag/Latency Clock Adjustments



Site Admin

Posts: 475

Joined: Fri Nov 12, 2010 2:42 pm

Location: Cape Town, South Africa

Post Tue Nov 04, 2014 3:46 pm

ChessCube Lag/Latency Clock Adjustments

We've had a number of people show concern around "clock cheaters" or instances when the clocks may appear to make sudden adjustments. Here we explain what’s actually going on (it’s not the users) and how ChessCube handles it.

ChessCube manages all times centrally on our server, but each Users client keeps and displays a local version of the games time that is checked against the central server with each move. The delay comes in when a browser has a delay (lag) in fetching moves from the server. Here's whats happening:

Your move is sent from your board to the Chesscube server and then on to your opponents board. He makes a move and it is sent back to the servers and on to your board. The issue comes in when there is a delay (lag) in communicating with the server, which is why we keep time centrally on our servers and adjust the Users’ boards from there. (This also prevents clock manipulation by users as the client doesn’t actually control the time.)

Here is a simple example to show it in action:


Even in this very simple example of 3 moves with only one user experiencing lag and only when they are submitting a move (not receiving), there is a noticeable adjustment. Note that the User B sees their time go down and the User A's go up. In cases of higher lag these adjustments may seem far more severe.

Any lag (or latency) less than 2 seconds is accommodated for. (details here) In this case the first 2 sec is adjusted for, but User B is penalised for the remaining 2 sec of lag. You can see a players lag by the indicator bar next to their time:


The reason we maintain clocks centrally is so that times CANNOT be tampered with. Most other sites don't have this central check in place which actually makes them far more susceptible to someone modifying their times as it's all controlled by their client.

Lag can be caused by either a slow internet connection or low browser or Flash memory. Find out more details here on how to fix it.



Posts: 171

Joined: Sun Feb 06, 2011 12:29 am

Location: Ottawa,Canada

Post Sat Nov 08, 2014 9:35 pm

Re: ChessCube Lag/Latency Clock Adjustments

But isn't still easier to be taken advantage of in terms of a one minute game or a ten plus one? Erase lag compensation for bullet games please



Posts: 177

Joined: Sun Nov 11, 2012 1:47 am

Location: top secret (somewhere in Canada)

Post Sun Nov 16, 2014 2:12 am

Re: ChessCube Lag/Latency Clock Adjustments

Knowing that the site's clock displays are likely understating your nearness to game end, playing faster than appears to be needed should compensate when there's high lag involved (eg. short red lag bars for one or both opponents, and/or jerky clock counting down displays which can also indicate high lag).

If you don't realize that, then those with high lag have an Advantage, since their opponents will tend to overestimate the amount of remaining time they have.
Ready to join chesscube? Click: http://www.chesscube.com/register/?referrer=babasaheb

( Members have been blocked from seeing my Chat room, tourney Chat & game Chat since March 6, 2013 )

Return to ChessCube Knowledge Base

Who is online

Users browsing this forum: No registered users and 2 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software.