TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Cross Cloud Latency – A tool that measures latency from AWS to GCP

46 pointsby rmanyarialmost 8 years ago

4 comments

inopinatusalmost 8 years ago
This is using &quot;ping&quot;, i.e. ICMP echoes. That&#x27;s easy to implement, but problematic in more ways than you might at first think. Firstly, some network elements may be configured to give ICMP echo request&#x2F;response packets a different delivery priority, which could invalidate results for your probably-not-ping-based application. Secondly, a virtual machine may have more jitter in scheduling the transmission and the response. Thirdly, you don&#x27;t get a picture of how congested the route is - is it good for a gigabit blast, or only a trickle of data?<p>But there&#x27;s a deeper problem: ping measures round-trip time.<p>Interesting fact about IP routing: quite often, route out != route back. There&#x27;s no requirement that paths in the Internet be symmetric, and very often, they aren&#x27;t. What&#x27;s more, congestion is often one-way.<p>So let&#x27;s say you have a 92ms RTT between two sites; you can&#x27;t know, from the ping alone, if that&#x27;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&#x27;s quite possible that such asymmetric results are also relevant.<p>(obviously the speed of light can give you lower bounds on the split, if you have knowledge of DC locations).<p>There have been substantial projects to accurately measure one-way latency. For example, the RIPE Test Traffic project from the RIPE NCC (<a href="https:&#x2F;&#x2F;www.ripe.net&#x2F;analyse&#x2F;archived-projects&#x2F;ttm" rel="nofollow">https:&#x2F;&#x2F;www.ripe.net&#x2F;analyse&#x2F;archived-projects&#x2F;ttm</a>) 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.
评论 #14698917 未加载
评论 #14698813 未加载
DaSilentStormalmost 8 years ago
That&#x27;s pretty amazing, nice work!<p>The company I work for has a similar tool (no fancy API yet, though) which shows the latency from some AWS regions to &quot;the world&quot; via different transit providers.<p>You can check it out at <a href="https:&#x2F;&#x2F;latency-test.datapath.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;latency-test.datapath.io&#x2F;</a>.<p>The reason we only have three AWS regions at the moment is that we&#x27;re using real hardware to do the measurement on network level.
tpetryalmost 8 years ago
Its interesting that the latency in the example from GCP to AWS is all the worse than AWS to GCP. Does anyone know the reason? The biggest argument for GCP is mostly their really great network.
评论 #14698752 未加载
评论 #14698098 未加载
good_intentionsalmost 8 years ago
Website down as of 2017-Jul-10?