Command Palette

Search for a command to run...

PHASE 12Advanced ~7 min· topic 12 of 39Level 3

System 12.12 — Netflix

In one line

YouTube's streaming + the recommendation/open-connect story: regional caching boxes and ML-driven home.

0/39 · 0%

Think of it like this

YouTube's harder cousin: instead of user uploads, it's about serving pre-processed shows to tens of millions of people watching at the exact same peak hour (Friday night) without buffering.

Key ideas

  1. 01

    Two halves: content pipeline (ingest + transcode, like YouTube) and the personalized home feed (recommendation service).

  2. 02

    Open Connect: Netflix's own CDN boxes inside ISPs — serving 95% exchange of traffic with cache hits.

  3. 03

    Recommendation: candidate generation (collab + content vectors) → ranking model → personalized row feeds per profile.

  4. 04

    Watch history feeds the model async (events via Kafka to feature pipelines — offline batch + online serving).

  5. 05

    Consistency: catalogs are eventual; a new title appears on CDN caches regionally within hours.

  6. 06

    Billing/preferences: classic CRUD service + entitlements (who can watch what per plan).

  7. 07

    Interview angle: most of this is 'media pipeline + personalization'; presentation matters more than novelty.

  8. 08

    Scale numbers to carry: 200M+ subs, petabytes/day of ingestion, CDN-first delivery.

Code & diagrams

NetflixServingdiagram

The upload pipeline looks like YouTube's; the READ side is the whole interview — millions watching the same peak hour.

Rendering diagram…

Explain without notes

01

Why does Netflix put hardware inside ISPs instead of renting big CDNs — what does it buy them operationally?

Practice

01

Design the recommendation data flow: events → features → model → ranked rows → cache → UI.

Trade-offs

  • ↔

    Self-built CDN = huge ops cost + total control of the last mile; the classic build-vs-buy at scale.

Run it in production

Completion checklist

  • I can structure Netflix = content pipeline + personalization + Open Connect and defend each.

Back to phase