How a CDN serves a video

An animated explainer of a content delivery network: DNS steering, edge cache hits and misses, the origin shield and adaptive bitrate.

Chapters

  1. The Path of a Segment: A video player never talks to the origin directly. Requests flow through DNS, a nearby edge PoP, a mid-tier origin shield, and only rarely the origin.
  2. DNS Steering: GeoDNS maps the client subnet to the closest healthy PoP by measured RTT and load, returning a short-TTL address for the London edge.
  3. Cache Miss → Origin Shield: On a cold segment the edge misses and asks the shield, which also misses and fetches from origin once. Both tiers store the immutable segment.
  4. Cache Hit at the Edge: Every later viewer in the region is served from edge cache in single-digit milliseconds. The shield coalesces misses, so origin sees almost nothing.
  5. Adaptive Bitrate Segments: The player fetches four-second segments and picks the highest rendition that fits measured throughput, stepping down when bandwidth drops.
  6. Recap: Nearest edge via DNS, hits served locally, misses absorbed by the shield, bitrate adapted segment by segment.

Make an animated explainer of your own topic →

More explainers

← All explainers

Try AI Flowchart free →