Network does not find nearest datacenter

Hi! I’ve been testing Cloudflare’s Speed Test ( and came across something curious.

When I run the internet speed test, the result shows that the data center for measurement was in São Paulo, which has a distance greater than twice that of the two closest PoPs to Cloudflare (cities of Caçador and Porto Alegre).

So I decided to go a step further and tested Cloudflare Worker with the hope that it would run at the closest edge location, as the intent is to operate at the edge. However, I got the same result, and everything was routed to São Paulo.

I’ve read that the closest data center is found by network routing based off of BGP, but even so, with so many closer points of presence, this shouldn’t happen, right?

Can anyone help me understand what I’m missing here?

Because closest data center does not necessarily mean the one in your closest geographical vicinity.

Peering - Why don't I reach the closest datacenter to me? addresses that.


This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.