5

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?

Luka
  • 375
  • 5
  • 21

3 Answers3

19

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.

Kenny Rasschaert
  • 9,045
  • 3
  • 42
  • 58
5

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

Greg Askew
  • 35,880
  • 5
  • 54
  • 82
1

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.

imel96
  • 406
  • 4
  • 9