I noticed that ping to Google DNS and to google.com from Serbia is about 15ms, but google servers are located in California! http://www.geoiptool.com/en/?IP=173.194.39.110 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?
3 Answers
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.

- 9,045
- 3
- 42
- 58
-
4This is your answer. Google doesn't have any magic to break the laws of physics. – blueben Sep 02 '12 at 15:16
-
3
-
7
-
2@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 02 '12 at 21:37
-
1
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
http://nmap.org/book/nping-man.html

- 35,880
- 5
- 54
- 82
To explain why it looks like it's a secret, most likely you're not pinging the same server that geoiptool.com sees. You pinged a server in Serbia and geoiptool.com 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.

- 406
- 4
- 9