Why Netflix Is Two Engineering Problems Bolted Together

Netflix is two mostly-independent engineering problems wearing one brand: moving petabytes of video as close to a screen as physics allows, and answering an API request that fans out across hundreds of independently-failing services. This guide keeps them separate, goes to implementation depth on each, then traces a single press of Play through both. It deliberately excludes the studio/production side, the recommendation models themselves, and billing — those are different systems with different failure shapes.

The whole guide in one picture. Track A, content delivery, a physics problem that converges: Section 2 encode, then Section 1 predict, fill and serve. Track B, service architecture, a trust problem that never converges: Section 3 decompose creates fan-out, contained by Section 4, and latency debt, paid by Section 6; both feed Section 9 active-active regions, and Section 5 verifies they compose. Track A's bytes and Track B's answers both feed Section 7 personalization, which reaches the member's screen; Section 8 traces one press of Play through all of it. Section 10 covers what aged.
The whole guide in one picture. One product, two engineering problems that share nothing but a member — and only the Personalization part needs both of them working at once.
How to read every diagram in this guide. Shape says what kind of thing it is (service, cache, durable store, queue, appliance, device or person, note); colour says whose it is or how it went (control plane, data plane, durable state, cache tier, someone else's, the member, degraded, failure); a boundary box says who owns what is inside (Netflix region or AZ, Open Connect footprint, the ISP, a blast radius); an arrow says what it carries (hot path, synchronous call, asynchronous, fallback, failure). Every arrow is labelled.
How to read every diagram in this guide.
TrackWhat it optimizesWhy it's a separate problem
A. Content deliveryBytes per view, bandwidth cost, playback qualityLimited by physics — how far compression can go, how much a network can carry. Once you pick an encoding and placement strategy, the outcome is mostly predictable.
B. Service architectureHow often a request succeeds while parts of the system are always brokenLimited by what you can trust across a network. You can't list every way 700 services fail together, so you test for it in the real world instead of reasoning about it.
C. PersonalizationEngagement and retention per memberSits on top of both. It needs Track A to deliver the bytes and Track B to answer fast and reliably — otherwise an experiment measures the platform's failures, not the idea being tested.

Why one toolkit can't solve both

The clearest way to show these are different problems is to swap their solutions and watch each one fail:

If you tried to…Here's what breaks
Use chaos engineering on the encoding pipeline — randomly corrupt encode jobs to "test resilience"You learn nothing. An encode either produces a correct file or it doesn't. There's no surprise interaction between services to discover — just a bug, which a unit test finds more cheaply.
Use one fixed quality ladder for the service mesh — treat every backend call the sameSome services are essential (playback dies without them) and some are optional (recommendations can just degrade). Treating them the same spends your reliability budget in the wrong place.
Pre-position service capacity the way Open Connect pre-positions video bytesDoesn't translate. You can't cache the right answer to an API call the way you cache a video chunk, because the right answer depends on live, per-member state that changes between requests.
Trust one staging environment to validate either trackEncoding bugs do show up in QA before ship. Service failures specifically don't show up outside production, because staging never has production's real traffic shape, config drift, or machine-level randomness.

The two tracks improve in opposite directions. Track A rewards study: the more you measure one specific thing — how hard this title is to compress, what this region actually watches — the better your answer gets. Track B rewards scars: no amount of study produces the list of ways 700 services fail together, so you get better only by breaking things on purpose and surviving what you find.

The Invariants

  • Guarantees: The tool choice in each part is predicted by which track it belongs to — measurement-and-converge for A, inject-and-discover for B. If a proposed tool doesn't fit its track's failure model, that's a design smell, not a preference.
  • Does not guarantee: That the tracks are independent in production. They share a member, a request, and a budget — the One press of Play and Regional failover parts are where a Track B failure becomes a Track A quality drop, and where a Track A misprediction shows up as Track B load.