Last Mile

Networking

The final network segment between the ISP's infrastructure and the end user's device. Often the slowest and most congested part of the connection. WiFi, cellular, and copper DSL are typical last-mile technologies.

Updated Mar 9, 2026

Full Explanation

The last mile is usually the weakest link. Your CDN edge might have 100 Gbps of bandwidth, but the user is on 50 Mbps home broadband sharing it with three other family members streaming Netflix. Or on a crowded cellular tower at a stadium.

CDNs can't control the last mile, but they can optimize for it. Serving compressed content (Brotli/gzip) reduces the bytes that need to traverse the slow link. HTTP/2 multiplexing reduces the number of connections needed. Adaptive bitrate streaming adjusts video quality based on available bandwidth. Edge compute moves processing closer to the user.

Last-mile conditions vary wildly. A fiber user in Seoul gets 1 Gbps symmetric. A mobile user in rural Indonesia might get 2 Mbps with 200ms latency. Good CDN performance means optimizing for both extremes.

Examples

# Last mile is visible in traceroute
$ traceroute cdn.example.com
 1  router.home (192.168.1.1)  2ms     # Your WiFi router
 2  dsl-gw.isp.net (10.0.0.1)  12ms    # ISP DSLAM
 3  core-rtr.isp.net (172.16.0.1) 15ms  # ISP core
 4  ix-ams.isp.net (80.0.0.1)  16ms    # IXP
 5  cdn-edge.example.net (104.x.x.x) 17ms  # CDN edge
# Hops 1-2 are the last mile (12ms of 17ms total)

# Test last-mile bandwidth
$ speedtest-cli --simple
Ping: 12.34 ms
Download: 48.23 Mbps
Upload: 5.67 Mbps

Frequently Asked Questions

The final network segment between the ISP's infrastructure and the end user's device. Often the slowest and most congested part of the connection. WiFi, cellular, and copper DSL are typical last-mile technologies.

# Last mile is visible in traceroute
$ traceroute cdn.example.com
 1  router.home (192.168.1.1)  2ms     # Your WiFi router
 2  dsl-gw.isp.net (10.0.0.1)  12ms    # ISP DSLAM
 3  core-rtr.isp.net (172.16.0.1) 15ms  # ISP core
 4  ix-ams.isp.net (80.0.0.1)  16ms    # IXP
 5  cdn-edge.example.net (104.x.x.x) 17ms  # CDN edge
# Hops 1-2 are the last mile (12ms of 17ms total)

# Test last-mile bandwidth
$ speedtest-cli --simple
Ping: 12.34 ms
Download: 48.23 Mbps
Upload: 5.67 Mbps

Related CDN concepts include:

  • Point of Presence (PoP) — A physical location containing CDN edge servers and networking equipment. PoPs are identified by airport …
  • Bandwidth — The maximum data transfer rate of a network link, measured in bits per second (Mbps, …
  • Latency — The time delay between a request and the start of its response. For CDNs, it's …
  • Middle Mile — The network path between CDN PoPs or between CDN edge and origin. Controlled by the …
  • Throughput — The actual amount of data transferred per unit of time. Unlike bandwidth (maximum capacity), throughput …