Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

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

3 Answers 3

up vote 17 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
4  
This is your answer. Google doesn't have any magic to break the laws of physics. –  blueben Sep 2 '12 at 15:16
3  
Google is likely using bgp anycasting, not geoip. –  3molo Sep 2 '12 at 16:36
6  
"Google doesn't have any magic to break the laws of physics." Yet. –  Kyle Sep 2 '12 at 20:32
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 2 '12 at 21:37
1  
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
http://nmap.org/book/nping-man.html

share|improve this answer

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.

share|improve this answer

Your Answer

 
discard

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.