Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I noticed that ping to Google DNS and to from Serbia is about 15ms, but google servers are located in California! My dedicated server is located in Germany and our countries are close, but ping is 43ms. What is the secret? Can I reduce ping to my server somehow?

share|improve this question
"google servers are located in California!" No, they're not. – ceejayoz Sep 2 '12 at 15:01
Well, some of them are. :) – Michael B Sep 2 '12 at 20:31
Traceroute and see where it goes. – Skaperen Sep 3 '12 at 0:15
up vote 19 down vote accepted

Google has servers all over the world and uses Anycast so that a server near you answers your request, they use the same method in their public DNS product.

If you have servers on multiple geographic locations, you can set up something similiar with BIND, not using Anycast, but based on geolocation by using views for certain IP addresses.

share|improve this answer
This is your answer. Google doesn't have any magic to break the laws of physics. – blueben Sep 2 '12 at 15:16
Google is likely using bgp anycasting, not geoip. – 3molo Sep 2 '12 at 16:36
"Google doesn't have any magic to break the laws of physics." Yet. – Michael B Sep 2 '12 at 20:32
@3molo, you're right but you could have just edited instead of downvoting. I've edited the answer to be closer to the truth. – Kenny Rasschaert Sep 2 '12 at 21:37
You're right, I should have done that. – 3molo Sep 3 '12 at 5:32

ICMP is not the correct tool for measuring network performance. A more realistic test would be using a network packet capture application like Wireshark, or something that that can perform application/protocol-specific tests, such as NPing.

Nping Reference Guide

share|improve this answer

To explain why it looks like it's a secret, most likely you're not pinging the same server that sees. You pinged a server in Serbia and sees another machine in california.

If you want low latency, then place your server closest to an internet exchange in the area where the customers are located. If your customers are spread around the world, then use CDN.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.