I am a cloud architect obsessed with all things tech. I love coffee and photography. I created cloudping.co.
- 📫 How to reach me: matt.adorjan.co
- 😄 Pronouns: he/him/his
AWS Inter-Region Latency Monitoring
Home Page: https://www.cloudping.co/
I am a cloud architect obsessed with all things tech. I love coffee and photography. I created cloudping.co.
Is the data freely available? can I use it to make 3D world graph like this one?
http://armsglobe.chromeexperiments.com/
Hello.
Will you be so kind and add new AWS region me-central-1 region to your tool?
Many thx.
ping results for us-east-1 -> ca-central-1 seem to be different than ca-central-1 -> us-east-1 in the chart, however the chart gives no indication of directionality.
It might be better to average the directions so that the boxes are equal however the user looks up values (more typical on charts these types), although that's more work than setting labels.
I would suggest #13 is updated to make use of Transit Gateway peering in a full mesh configuration, and use AWS backbone/internal routing to provide inter-region latency. This is most likely what large-scale deployments in AWS would make use of and is the more modern way to measure inter-region latency (as opposed to using public endpoints and the public internet).
Could the data be provided in a machine readable format?
Perhaps a .csv download
Just a quick thought.
I believe that adding the region location name (e.g. Tokyo or Ireland) would help reading that list and have better idea if traffic e.g. from Tokyo flows through US or Asia.
Hey there,
Some background...
A while ago I created a lookup table manually using the data from the cloudping website.
The lookup table is used to determine which region is nearest to a particular region.
The table looks like this:
ap-southeast-2:
ap-southeast-2: '0'
us-west-2: '1'
us-west-1: '2'
ap-southeast-1: '3'
us-east-1: '4'
us-east-2: '5'
eu-west-1: '6'
eu-west-2: '7'
eu-central-1: '8'
ap-southeast-1:
ap-southeast-1: '0'
us-west-2: '1'
eu-central-1: '2'
eu-west-2: '3'
us-west-1: '4'
eu-west-1: '5'
ap-southeast-2: '6'
us-east-1: '7'
us-east-2: '8'
eu-central-1:
eu-central-1: '0'
eu-west-2: '1'
eu-west-1: '2'
us-east-1: '3'
us-east-2: '4'
us-west-1: '5'
us-west-2: '6'
ap-southeast-2: '7'
ap-southeast-1: '8'
# and so on... and so forth...
and is used, in python for example, like this:
priority = table[source_region][destination_region]
I started out with only a few regions, but now I need to do many more. This is pretty tedious to do by hand.
I was about to build something that would scrape the website and calculate this data instead, however, I thought I'd bring this forward as an issue to see if:
Thoughts?
Fantastic service! It would be great if I could see it next to / integrated with a map to more easily mentally map regions to geography.
Useful when making doing back-of-napkin "a user based here will have X latency if using region Y"
(Even just https://aws.amazon.com/about-aws/global-infrastructure/ ?)
The "< 100ms" and the "100-180ms" colors are too close together for colorblind people to see. I humbly request that an accommodation is made to (1) make the colors different enough or (2) add another UX enhancement such as an icon to distinguish them better.
Is possible to support Spain? Thanks!
Hi!
The cloudping website seems to be down- I'm getting:
This site can’t be reached
www.cloudping.co’s server IP address could not be found.
I've tried this on multiple browsers and also confirmed that others are experiencing the same issue. Are there plans to fix this?
Thanks!
To make identifying the source and destination region for a cell easier when mousing over it.
Would a maintainer mind adapting their GitHub README.md to support dark mode?
If a browser like Firefox is in dark mode, the default DOM background switches to a dark color (e.g., black), and because the architectural images have a transparent background with black text and figures (e.g., arrows), the images are not easy to read and view. I attached an image illustrating what I mean.
The statistics shown in the table on the page of https://www.cloudping.co/ is not the same with the statistics from icmp ping command by myself. And I found the statistics shown in the page seemly always bigger than the statistics got by myself.
Did anyone else find the same issue?
Ping (ICMP) usually is measured on a host, by the time each request packet takes to get to the destination and replied by the destination back to the host (round-trip). Inside the host, the ping application calculates therefore the time the packet took to go and come back.
Latency is usually defined by the time it takes for a packet to be received by a host when coming from a server (latency is therefore usually aprox. half the time a ping takes).
Latency is usually important for realtime traffic such as video and online gaming, as it is important that the packets are received quickly, and not that relevant if packets sent have much delay or not.
Nasa says: "Data latency is the total time elapsed between when data are acquired by a sensor and when these data are made available to the public.", this might include the presentation layer (show the public), thus, in its wholistic form, it can be the sum of the times: acquisition + receive + present data. We don't see any "send request" in these times. Some might argue that the the send request may be part of this equation, because the "public" will send a request for data, for it to be received, but if this is a video stream, you only request once, and then you have a steady stream of receives, so we might ignore those times (even though they might occur). Still If we are actually, strictly interested in understanding the latency in this equation, how much time the "public waits for this sensor data" we don't include any send-requests times.
Thus, generally speaking, in its standard definition, we can't accurately measure latency with pings, since we get the round-trip time in ms, request + reply , the latency is specifically only the reply time. When dividing this ping time by 2 we might be trying to obtain the reply time, but its not accurate.
It is common in many portals, and graphic representations to inter-mix these definitions, as being the same, but they are not, the difference its subtle.
But It is very important to understand that applications that really measure latency (voip, audio, video, database, streaming, p2p gaming), will in fact show up aprox. half the ping round-trip times.
Therefore the header on the page should change to Round-Trip and not latency times, just to set the record strait and not confuse teams that rely on these values, and need to technically understand them, as if they are half or double the time, it might matter to them.
: E=mc2 - Note for the curious minds :
These times don't stretch, and are strictly bound limits to the current human technical knowledge, and science evolution, and relate to the time speed of light needs to get from A to B. Since light travels down in approximately a straight line we can use the formula (D = T * V) where D is the distance the fiber travels, T is the time it takes to travel, and V is the velocity of light. The speed of light inside fiber is close to 2*10^8 m/s. As a rule of thumb, aprox. round trip is around 1millisecond per 100 km.
Therefore it is linked to how many kilometers light has to travel. They cannot be reduced, in light of the current human knowledge, we do use fiber optics as the best way to communicate data around the world.
So, the only way to reduce round-trip times from A to B, is simply to get closer to the destination, or simply do what many have done, use CDNs to replicate data across regions, and have it available closer and closer to the end-users.
hope i helped to clarify this topic, 'cause it came to my attention.
.keep up the good work Mat.
cheers.
The cross-referencing is very helpful when estimating cross-datacentre and infrastructure latencies, or latencies for customers in different geographies - but it would be very helpful to also be able to check my latency too!
(Like http://www.cloudping.info/, both under one roof?)
Hi Matt, thanks for the awesome tool. It is very helpful. I noticed that Jakarta region is not enabled in the matrix. Wondering if it's possible to add it? Thank you.
Would the API access to the raw data in database be available anytime soon?
The certificate for https://www.cloudping.co/grid expired on 13 October 2022. Mind renewing it?
Thanks,
Wouldn't it make more sense to move Canada near the US regions? At present it is between Asia and Europe, which is a bit odd, unless you go across the Northwest passage...?
Would be nice to add highlighting for currently selected row and column to make it easier to find row/column pair.
There are numerous examples on how it can be done, e.g. here
PS: is this project still alive?
Certificate for *.cloudping.co expired on 13 Oct 2022
NET::ERR_CERT_DATE_INVALID
Subject: *.cloudping.co
Issuer: Amazon
Expires on: 13 Oct 2022
Current date: 27 Oct 2022
Hi, thank you for your work.
It will be very useful to have same table with latency between availability zones inside regions.
Thanks
Hi there,
This is a great project, thank you!
I have been measuring latency between some of the regions using EC2 instances, somehow, you number is higher than mine (see below), any idea why?
us-east-2 <--> ca-central-1, mine: 24 ms, yours 42 ms.
us-east-2 <--> eu-central-1, mine: 96 ms, yours 115 ms.
similarly for us-east-1, mine is 20 ms smaller than yours.
I get similar numbers for the past month.
i'm a fan, i've looked at github and it not clear how to deploy this distro, would be great if we could experiment ourselves. :^)
some ui comments.
would be great if the geo regions were a little better aligned. maybe put ca-central-1 with the us-east/west regions?
africa and middle east in between eu and ap?
south america somewhere between us eu and ap. or variable.
there are clear blocks of low latency, it would be nice if those were highlighted somehow.
would be super cool if there a way to incorporate AZ's into view.
Hi
It would be great to add the name of city to the page. Thanks.
Could we add the sydney region to the table?
I tried to clone the repo and built in my AWS.
I divided for three part: fronted, ping_from_region, and scheduled_functions
I had stocked in the ping_from_region.
I build a venv(../venv) which with Python 3.10.13. I tried the simple one[1] to build a "hello world" web.
It worked. But when I use "chailce deploy" in the ./ping_from_region. It showed ”Resources deployed:“ and nothing after that.
How should I do to fix this problem?
Ref:
[1]https://github.com/aws/chalice
Hi,
Is it possible to add latency measurements for the new Switzerland region? (eu-central-2)
Cool application but there is no clear documentation on contribution guidelines and how to run front end application. interested in using this app and probable contribution.
I would love to see a grouping mechanism of some sort. For example, I would really like to be able to hit a "US" button and only see the latency in the us-based regions. It would make it a lot easier to digest.
Awesome tool, btw. Thanks!
hi,
bufferbloat or variance of latency:
ECN capability;
thanks, here in Brazil, with only SP some friends from Recife pay a minimum latency of 60ms to reach AWS in SP, i dont know if in this case, following the "submarina cable map" elps in determining a closer datacenter. But is another sugestion the use of tese maps to estimate latency.
Please add ap-east-1 (Hong Kong) region times. Thank you.
It would be great to be able to select a subset of regions to display for easier-ability glancing.
For example, if I'm running an app in the US and South America, it's a lot of extra clutter to view the other 9 regions in Asia and Europe.
Although the China (Beijing) region is quite different from the others in a number of ways, it would be a very useful addition to the list.
Are the latency tests performed using DynamoDB public endpoints? So the packets are going across public internet? Or do you have VPC peering set up between regions?
Hi mda, any plan on monitoring this new region.
Matt, sometime in the future can you add an entry for the GovCloud? It would be very useful for some of us. thanks.
I don't believe AVGs, as they hide problems and - often they don't even represent a vast majority of values. I'm not saying we should ignore them, but I would really appreciate to see max and 95th percentile.
Hi,
I noted that the latency for us-east-1 to itself is more than 40 ms whereas the latency of other regions to itself is less than 10 ms .
Do you know why we have such a difference ?
Regards,
Etienne
The ping script inserts "true" instead of a number when a region cannot be reached. This throws off the API backend, which expects integer values and not strings.
Hi @mda590 ,
did you have a license in mind for the code and/or the resulting data shown on cloudping.co?
Would be nice if you could filter to the regions that I care about. I don't think that's possible or?
In My experience Averages are small part of the problem. Latency distribution or at least 99% percentile would be very helpful. Also information about packet lost is great as it really impacts distributed systems
Hi Matt, thanks for the table.
I was wondering if it'd be possible to publish one for inter-AZs as in many OLTP active-passive solutions organizations would use AZs vs regions.
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.