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
- 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.
- 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.
- 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.
- 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.
- Adaptive Bitrate Segments: The player fetches four-second segments and picks the highest rendition that fits measured throughput, stepping down when bandwidth drops.
- 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 →