大网数据广告活动
服务器运维问答

How is ping so low, lower than theoretical limit?

· 52CE 我爱测

According to this article , we would expect a ping of at least 60 milliseconds for 10,000km of distance: Ireland is roughly 10,000km away from California, so this is the ping we would expect. I am pinging api.kraken.com from Irel…

问题原文

原帖链接 · David Callanan · CC BY-SA 4.0

According to this article, we would expect a ping of at least 60 milliseconds for 10,000km of distance:

Ireland is roughly 10,000km away from California, so this is the ping we would expect.

I am pinging api.kraken.com from Ireland, which is located somewhere in California.

How is my ping so low - 4 milliseconds?

I am using the ping command in Command Prompt to test this:

And it's definitely not just me getting this low ping. Here is a report from check-host.net:

Here is the location of the server, using iplocation.net:

Here is a traceroute if useful:

已采纳解答

原帖链接 · Simon Richter · CC BY-SA 4.0

For me, traceroute api.kraken.com ends with

 8  ae-2-3602.edge3.Berlin1.Level3.net (4.69.159.5)  15.422 ms  16.278 ms  17.423 ms
 9  unknown.Level3.net (212.162.40.34)  12.069 ms  12.045 ms  9.120 ms
10  104.16.214.191 (104.16.214.191)  9.071 ms  10.039 ms  4.867 ms

From a colo server I rent, it ends with

 7  as13335.dusseldorf.megaport.com (194.146.118.139)  3.027 ms  3.000 ms  2.965 ms
 8  104.16.213.191 (104.16.213.191)  2.419 ms  2.451 ms  2.386 ms

The round-trip times there have a lot of noise on them as we only have three probes per host, but we can be fairly confident that there is no transatlantic link involved.

What is happening here is that Cloudflare are announcing the same IP address block from multiple datacenters that all have copies of the services offered, so each client is connected to the closest one.

Such a setup can fail if routes change around while a connection is active, but generally only few clients are affected and the majority of clients will just rebuild the connection, possibly to a different instance this time.

Keeping the different instances synchronized to simulate a single service is part of Cloudflare's business model.

IP geolocation is guesswork at best, and certainly breaks with such setups since the same IP is used in different places. The ipinfo.io service is likely in San Francisco, so the next instance of api.kraken.com they found is their neighbor.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2021-08-10)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。