πŸ’¬
βœ‰οΈ
πŸ“Έ
▢️

Loading…

Design Netflix: adaptive streaming and CDN delivery

NetflixGuided Mode

Global Scale: Open Connect & Anycast DNS

The final layer is global routing. Netflix operates its own CDN β€” Open Connect β€” with over 1,000 edge appliances embedded inside ISP networks. DNS (Anycast) routes each viewer to their nearest edge using latency-based routing before a single byte of video is requested.

Request Flow

1

Anycast DNS: route to nearest PoP

The client's play request resolves through Netflix's DNS (Anycast) tier first. Using anycast routing, the DNS response points to the load balancer PoP geographically nearest to the viewer β€” reducing API round-trip by 40–120ms for users outside the US.

2

Open Connect: CDN inside ISPs

Netflix's Open Connect appliances are physically installed in ISP data centres, not in Netflix's own DCs. Comcast, Deutsche Telekom, Jio β€” all host Netflix edge nodes. When a viewer in Mumbai watches a show, video segments travel zero miles on the public internet, only on Jio's internal network.

3

Pre-positioning: proactive cache warming

Every night during off-peak hours, Netflix pre-positions the next day's predicted popular titles to all edge appliances globally. 95%+ of content is served from edge cache β€” the Blob Storage (S3) origin is rarely hit during peaks.

Key Insight

Netflix's most important infrastructure decision was building Open Connect β€” their own CDN embedded inside ISPs. It removed Netflix traffic from the public internet backbone entirely for 95% of streams, reducing both latency and cost.

Step 4 of 7