Saturday, May 17, 2008

The Major Cause of Lag at JG500

In the middle of a lagging game with Gus six months ago I formed a hypothesis that most lag was the result of client-side problems rather than a server-side problem. I tested the hypothesis rigorously and sure enough most of my lag problems were client-side.

It appears that any interruption of the connection to the 500 server creates a client-side lag. I have done this in 3 different but related ways now:
  1. Hibernation of laptop while web-server with 500 site is running
  2. Disconnection of the ethernet lead during a game and wait for wireless reconnection
  3. Running screen-saver for a few minutes while web-server with 500 site is running
Most instances of these lags were fixed by restarting the web-browser. However some could only be fixed by rebooting the laptop completely.

Here is a summary of the steps I am taking to avoid client-side lags:
  1. If your laptop or PC enters sleep/hibernation mode then close down your web-browser and restart it before playing 500. If your game is lagging then reboot your machine.
  2. If your laptop or PC's screen-saver starts then close down your web-browser and restart it before playing 500. If your game is lagging then reboot your machine. Reset your screen saver to over 10 minutes.
  3. If you experience a break in connection to the 500 game by either an interruption to your Ethernet or wireless connection close down your web-browser and restart it before playing 500. If your game is lagging then reboot your machine. Reset your screen saver to over 10 minutes.
These solutions have worked for many others. The message is - if you have got lag then turn off your sleep mode and close down and restart your web browser.

No comments: