Last-mile latency is the delay on the final network segment between the nearest internet backbone and a user’s device. It is one component of network latency, alongside geographic latency. Although the distance alone implies less than a millisecond, last-mile infrastructure can add tens of milliseconds. section 3.2.1
Network delay can dominate communication between nodes and overshadow application-level optimizations. Establish a network latency baseline and consider component placement before concentrating on smaller, local optimizations. section 3.2.1 section 3.1
Edge computing places computation and data closer to users instead of relying on one central region. Near-edge locations use data centers closer to users; far-edge resources can sit closer still, at the edge of a user’s network. The benefit depends on which edge location is used and where users connect; proximity does not by itself remove the final network segment. section 3.2.2 section 3.2.1
Choosing a closer location
A user in Tokyo accessing an application deployed only in Virginia must communicate with that distant region. Deploying resources at a nearby edge location can avoid that long round-trip. Compare network latency against a baseline to determine the benefit for the actual placement. section 3.2.2 section 3.2.1
