Choosing a site: map the users before you compare cities

Hong Kong, Tokyo, Taipei and Los Angeles are not fast or slow by name. Speed comes from where users are, where traffic lands, and which data must stay next to the write path.

Cities get compared as if the names were the performance: Hong Kong, Tokyo, Taipei, Los Angeles. The names are not the cause. Speed comes from where the users are, where the traffic lands, and which other data the service must talk to. Draw those three before the city list means anything.

Long-haul optical transport shelves

Map users first. If they are in South China and Southeast Asia, Hong Kong is often a short meeting point. If they are in Japan, Tokyo is more direct than a city that is only famous as a hub. If they are on the US West Coast, Los Angeles or a nearby western site avoids an extra overland leg after the ocean crossing. If users are concentrated on one domestic network and the server sits in a distant country, a premium circuit only compensates for the site. It does not fix the site. A better path cannot cancel geography.

A ping from inside the room is not the user’s path

Measure latency by direction. A ping from the data center to a public address only describes one path leaving the building. A user reaches you from their carrier to your entrance. Evening peaks, weekdays and weekends can differ. Test from the networks your users actually use. That is closer to the experience than two machines pinging each other in the same room. Watch jitter and loss, not only the average. Voice, games and remote desktops feel jitter more than the average. Pages and large downloads feel retransmission after loss. One average number mixes those problems together.

With several sites, latency stops being only “user to server” and becomes “server to server.” An application in one city and a database in another pays that distance on every query. The delay is stable and hard to optimize, so the authority copy should sit near the write, and only read caches should sit far away. Backups can be distant. Transactions should not. Synchronous replication across an ocean puts that delay inside the user’s request.

If you can pick only one city, pick the direction with the most writes and the most users, and reach the other directions with caches or asynchronous jobs. Add a second node after that city’s evening peak is stable. When you compare two new cities, use the same targets, the same hour and the same user networks. A daytime sample against an evening sample can make the closer city look worse. Write the samples and the reason into the delivery notes so the next expansion does not start again from the first line of a brochure.

There is no fastest city in the world. There is only the shortest combination for your users and your data flow. Limit the comparison to the directions you actually serve, and the city list becomes useful. Measure peak latency, jitter and loss before you add a node, rather than buying four cities first.