Live data from Hacker News

AWS data center latencies, visualized

benjdd.com

81–90 of 223 posts

Re: AWS data center latencies, visualized

#81

Earlier quoted context omitted.

Speed of light in a medium like fiber is about 200 000km/s.

Oh shit! Thanks. Good point. That actually makes it more plausible, as K is smaller.

1/2 c in circuit boards (FR-4), 1/3 c in cables, two useful numbers to remember.

Re: AWS data center latencies, visualized

#82
Technically speaking those aren’t datacenters, they’re regions. AWS regions can have multiple AZs, and each AZ can have multiple datacenters spread around a city, each with different latency characteristics. This is completely opaque to customers, you don’t really get to choose which one you’re in. There are ways to gain info about it though.

This is way outdated now but gives a rough idea: https://wikileaks.org/amazon-atlas/document/AmazonAtlas_v1/A...

Source: did some latency work for a market maker.

Re: AWS data center latencies, visualized

#83
As we operate 720+ servers running ping and traceroute continously, I will try to see if we can publish intra provider or intra asn latency data like this but on a massive scale. We have a ton measurement internally but to publish them as a product or even as a web dashboard is tricky as it is hard to measure what the interest could be.

Re: AWS data center latencies, visualized

#84
post #82

Technically speaking those aren’t datacenters, they’re regions. AWS regions can have multiple AZs, and each AZ can have multiple datacenters spread around a city, each with different latency characteristics. This is completely opaque to customers, you don’t really get to choose which one you’re in. There are ways to gain info about it though. This is way outdated now but gives a rough idea: https://wikileaks.org/amaz…

For inter region latency the difference is negligible.

Re: AWS data center latencies, visualized

#85
post #57

I have red-green color blindness, which makes it hard/impossible for me to distinguish between the 200ms lines. This affects about 8% of male population btw, maybe you can add a color-blind mode, very nice visualization otherwise!

Do you have some kind of an accessibility tool for this? Maybe a whole screen filter that changes colors in a specific way so you can distinguish them?

No I don't. It's actually not a big deal in day-to-day life. People often go "But how the hell can you drive if you can't distinguish red from green at the stoplight?"... in reality it's more nuanced. As another comment already mentioned, perception varies across even among colorblind people. I find it hard to distinguish R/G if the colors are not fully saturated or in low-light situation. Also the brain knows that "red is on top" and "green is at the bottom" at the stoplight and thereby improves the contrast for me. ;-)

My comment was meant to raise awareness of this issue with the author of the tool. Many video games, especially the ones with some kind of HUD, minimap, etc. these days have a color-blind mode.

Re: AWS data center latencies, visualized

#86

I have red-green color blindness, which makes it hard/impossible for me to distinguish between the 200ms lines. This affects about 8% of male population btw, maybe you can add a color-blind mode, very nice visualization otherwise!

As a quick workaround, you can set a CSS filter on the whole page: Either use dev tools to put a rule `filter: hue-rotate(60deg);` on the `body` element, or simply run `javascript:void(document.body.style.filter='hue-rotate(60deg)')` from the url bar.

Nice hack, thank you! :-)

Re: AWS data center latencies, visualized

#87
post #42

Its a bit sad, we have one of the Swedish, actual physical buildings for AWS in my town. But of course the traffic does not exit here, but is instead aggregated between the different sites spread around cities regionally. So no sub-ms latencies for me towards that center. I think the traffic basically went a couple hundred kms before turning back here.

Does your ISP peer directly with Aws?

No, which is a possible solution, but I suspect they simply dont peer locally.

Re: AWS data center latencies, visualized

#89
post #66
post #65

Obviously the biggest contribution to latency is distance. But there's also some close-ish regions with poor latency because there's not fiber running directly between them (for example, over the poles) Are there an examples of regions which dramatically violate the triangle equality? (That is, where the A--C latency is much worse than the best A--B + B--C latencies)? Just as a curiosity, could you use that idea to "…

You can just look at the map of fiber optic cables around the world: https://www.submarinecablemap.com/ It's highly unlikely there are any non-disclosed undersea ones since they cost rather a lot to lay down.

Yes, although I think it would also clean up the visualization, since you wouldn't have nearly so many lines connecting data centers which actually aren't connected; and it would therefore also be explanatory
Post reply on HN