The Wayback Machine - https://web.archive.org/web/20100902224536/http://royal.pingdom.com:80/2007/06/01/theoretical-vs-real-world-speed-limit-of-ping/

Pingdom Home

US + international: +1-212-796-6890

SE + international: +46-21-480-0920

Business hours 3 am-11:30 am EST (Mon-Fri).

Royal Pingdom

Share

Theoretical vs real-world speed limit of Ping

Ping is the favorite tool of network administrators for testing connectivity and response time over networks, but is there a limit to how fast response times can get?

Of course there is. The answer is c.

Ultimately response time over a network is limited by the speed of light. In a vacuum, light travels with a speed of 299,792 km/s. In air, pretty close to that. It gets slower when traveling through glass (think fiber optics) but this isn’t a Physics paper so we will settle for the theoretical maximum for now. Electricity travels with close to the speed of light as well.

Ping across routers

Theoretical response time limits of Ping

So, if we assume that a “ping” travels with the speed of light, which are the best possible response times we can get?

10 km -> 0,067 milliseconds
100 km -> 0,67 milliseconds
1,000 km -> 6,7 milliseconds
10,000 km -> 67 milliseconds

(Note that Ping shows the time for a roundtrip, i.e. 2 x the distance.)

Pinging between Europe and USA

The distance between New York and Paris is 5,839 km. For light to travel from New York to Paris and then back again would take 40 milliseconds.

Maximum distance between two places on Earth

If you choose the shortest route, the maximum distance between two locations will never be more than halfway around the planet. Halfway around Earth is about 20,000 km.

Considering that Ping goes to a destination and then back again, the packet sent by Ping would travel 40,000 km, the equivalent of a trip around Earth.

That is 133 milliseconds.

Anyone who has tried to ping various servers across the world will know that this is a way better response time than what you can realistically get. So why is ping so slow?

Why Ping is slower in the real world

The examples above take place under ideal conditions that don’t exist in the real world.

  1. The actual distance traveled will be longer, more like zig zag than a straight line.
  2. Repeaters, switches and routers will slow down transfer speeds. The more equipment the signal has to pass through (for example routers), the longer it will take to reach its target.
  3. The actual speed of the signal will never quite match the speed of light. Even with fiber optics (glass) the speed of light is about 30% slower than through vacuum or air, and most of the distance covered will be through fiber.
  4. A beam of light bounces around like a pinball when it travels along the thin (admittedly extremely thin) fiber, and that will of course make the distance traveled even longer.

With all this in mind, you should probably double the “ideal” response times shown above for a more realistic target to aim at. It’s useful to know when there is room to push for better network performance, and when the actual physical limits set in.

Want to test your site every minute?








You will get an email with your login information.

Why automatic software upgrades are great for innovation

Forward thinkingIt may be the start of a new trend, software that automatically upgrades itself silently in the background without ever bothering users. Google has been doing it successfully with its Chrome web browser, and soon Mozilla will jump on the bandwagon with Firefox.

You may love it or hate it, but for most users, software that automatically upgrades itself can be a blessing, and in more ways than is immediately apparent.

And it’s not just great for users, it’s great for developers because it allows them to innovate and develop at a fast pace, pushing out frequent updates without annoying their users with upgrade notices. In short, automatic upgrades let developers push the pace of innovation.

Read more

Apple and AndroidThe two mobile platforms with the most apps are Google’s Android with around 95,000 apps, and Apple’s iOS with around 250,000 apps.

Those are impressive numbers, but this article isn’t about the sheer number of apps available. Instead, we wanted to focus on a very interesting distinction between the two platforms: The radical difference in the ratio between free and paid apps.

Read more

New! Pingdom status plugin for Wordpress

Do you run a web service or hosting company? Do you like transparency? Then this might be of interest to you.

Service status blogs are becoming increasingly common these days and are usually very appreciated by users. Look no further than Twitter’s famous status blog, or the Google Apps status page. Status blogs (or “status pages”, depending on approach) may look and work differently, but they all serve the same purpose, informing users about service issues.

Now it’s easier than ever before if you want one, or want to make your existing status blog even better.

Read more

WindowsFrom its official launch in October 2009, it took Windows 7 only nine months to pass Vista. Now the next question is when it will catch up with Windows XP. Because, unbelievable as it may seem, Windows XP still has a massive 55% of the desktop OS market. That is more than Windows 7 and Vista combined.

To figure out when Windows 7 will overtake XP, we have made a prediction based on the average market share changes over the past six months. It will give us an idea of what will happen if things continue at their current pace.

Read more

The popularity of Firefox around the world

FirefoxAlthough the growth of Firefox has stagnated a bit lately due to the increasing competition from rival browsers, it’s still one of the biggest success stories in the history of the Internet and has the second-largest user base of any web browser.

Firefox has a widespread global user base, but we wanted to find out where it is most common, or another way of looking at it: how are the Firefox users distributed?

Read more