by rmanyari on 7/3/17, 10:51 AM with 9 comments
by inopinatus on 7/4/17, 10:17 PM
But there's a deeper problem: ping measures round-trip time.
Interesting fact about IP routing: quite often, route out != route back. There's no requirement that paths in the Internet be symmetric, and very often, they aren't. What's more, congestion is often one-way.
So let's say you have a 92ms RTT between two sites; you can't know, from the ping alone, if that's an even 46ms each way, or 53ms one way and 39ms the other, or perhaps even 83ms + 9ms. If your application is sensitive enough to latency that this tool might be interesting, then it's quite possible that such asymmetric results are also relevant.
(obviously the speed of light can give you lower bounds on the split, if you have knowledge of DC locations).
There have been substantial projects to accurately measure one-way latency. For example, the RIPE Test Traffic project from the RIPE NCC (https://www.ripe.net/analyse/archived-projects/ttm) was a large-scale and long-running observatory that kept more statistics besides, such as packet loss. Sadly the successor to this service appears not to measure one-way latency. For precision, it required both an appliance and a GPS antenna to be installed, so major cloud providers were unlikely to cooperate.
by DaSilentStorm on 7/5/17, 9:42 AM
The company I work for has a similar tool (no fancy API yet, though) which shows the latency from some AWS regions to "the world" via different transit providers.
You can check it out at https://latency-test.datapath.io/.
The reason we only have three AWS regions at the moment is that we're using real hardware to do the measurement on network level.
by tpetry on 7/4/17, 7:54 PM
by good_intentions on 7/10/17, 3:56 PM