My Blog on Distributed Systems, Web Applications and eCommerce Practises and everything else you need to get the Web talking business.

Thursday, March 13, 2008

Check your clients network speed

There are many tricks you can use to check network speeds,

Seifi is discussing a couple

i) The use of an Ajax request for a small gif file E.g. speed.gif?rnd=xsz (with a random parameter
to avoid caching), and measuring the time taken for this image to be served, then classifying the time into different slots

ii) The other option is if you subscribe to the Google Analytics service,
reading into the data that Google analytics provides in its network properties section.

Reportedly Google maps the users IP against a table of Network providers and speeds,
the idea can be generalized to be used by any website, provided you have the mapping, and a
service to keep this updated.

Original article at SEIFI -
http://www.seifi.org/stats/how-google-analytics-determines-connection-speeds.html

No comments: