3 ms·
Speedtest works by determining your lat/lon position based on your IP address. It then searches for I think around 10 other servers which are within a certain
by Patrick_Devine 12y ago
Speedtest works by determining your lat/lon position based on your IP address. It then searches for I think around 10 other servers which are within a certain proximity to your lat/lon position and then fires off a bunch of packets to try and determine which one is the fastest. The biggest problem is if the lat/lon coords for any of the servers, or for your own IP address are off in the geoip database, you can end up hitting servers which could potentially be far away.
If you know a server which is close by, you can try using speedtest-cli (https://pypi.python.org/pypi/speedtest-cli/0.2.7 https://pypi.python.org/pypi/speedtest-cli/0.2.7) which will allow you to run the test from the CLI. From there you can set the server parameter and get a fairly accurate reading.