I Modeled a Netflix-Style Streaming Platform in 97 Parts. Here Are Five Things the Architecture Showed Me
I modeled a Netflix-style streaming company in Cortex Architect: 97 parts, 178 connections. Then I took the billing database down and every TV, phone and browser stopped playing. Five things a diagram you can question shows you that a whiteboard cannot.
I took down one database in a Netflix-sized streaming platform, and every TV, phone and browser stopped playing.
It was the billing database. Nobody was watching, because the platform is a model. But the failure is real in the sense that matters: it is a design flaw, it was sitting in plain sight on the diagram, and I would not have found it by looking. I found it by clicking.
That is the difference between an architecture diagram and an architecture model, and it is why I built Cortex Architect. This article walks through the model: a whole Netflix-style streaming company in 97 parts and 178 connections, and five things it showed me that a whiteboard never has.
- See the product without an account: the live demo
- Try it on your own code, free for one project: app.cortexagent.com
A note on what this is. It is a reference design built from patterns Netflix has described in public, like Open Connect, Zuul-style gateways, per-title encoding and Chaos Monkey. It is not Netflix's real architecture, and the dollar figures are illustrative.
How it was built
"Design Netflix" is the most famous system design interview question there is. You get forty-five minutes, you draw a CDN and a few boxes, and everybody nods. I wanted the version where you do not get to stop.
Cortex Architect starts from real code. The only real code I had was Netflix's open source Chaos Monkey, so I connected that repository. It read the code and drew what is there: a command line tool, a MySQL database, a cron job and a dependency on Spinnaker.
Then I asked the architect in the side panel to design a realistic streaming platform around it. I did not draw it box by box. It proposed nine applications, recorded the decision with the alternatives it turned down, and saved the design as a plan with acceptance tests:
- Viewer experience (6 parts): TV, mobile and web apps, plus the API gateway
- Playback and discovery (17): sessions, manifests, DRM licenses, catalogue, search
- Membership and payments (16): accounts, plans, billing, entitlements, support
- Content supply chain (16): ingest, quality checks, encoding, packaging, rights
- Open Connect video delivery (6): caches in ISP networks, steering, origin storage
- Data and personalisation (15): events, data lake, experiments, recommendations
- Engineering and resilience platform (10): compute, deployment, secrets, failover
- External partners (7): payment providers, studios, ISPs, telecom partners
- Chaos engineering (3): the real Chaos Monkey repository
Parts that exist are solid. Parts that are only designed are dashed and say "Proposed". You always know which is which.
On a real programme, this picture is weeks of workshops, and at the end you have a drawing nobody can ask a question of. Here is what happens when you can.
1. A billing database can stop playback
Cortex has a stress test. You take one part down and it shows you everything that stops, and why. I took down the subscription and billing store.
Twenty-one other parts stopped, and so did 6 of the 11 ways into the system. The panel gives the chain, step by step:
- The billing store is down.
- The entitlement service reads from it, so it stops.
- The manifest, session and DRM license services all ask the entitlement service, so they stop.
- The playback API and the gateway depend on those, so they stop.
- The TV, mobile and web apps have nothing to talk to.
Nobody designs "a billing outage stops all playback" on purpose. It is what falls out when the entitlement check sits in the playback path and reads straight from the system of record. And it raises exactly the question an architecture review should raise: how long may playback trust a cached "yes, this member is paid up" when billing cannot be reached? An hour? A day?
That is one click. Think about the database your own system could least afford to lose, and whether you could list everything that stops with it.
2. The video never touches the backend
In the model, the playback services only decide whether you may watch. They check your subscription, your territory, your device and how many streams you have running, then hand the player a manifest: a list of places to fetch video from. That is the end of their involvement.
The video comes from caches inside internet providers' networks and at internet exchanges. A steering service picks the caches. A fill controller keeps them stocked from origin storage.
Interview answers say this in a sentence and move on. In the model you can check it, because there is no connection from a playback service to the video itself. The cloud side makes small, fast decisions. The cache side moves nearly all the bytes. They fail differently and scale differently, and the diagram makes you design them separately.
3. The money is not where the diagram is busiest
Every part in the model can carry a monthly cost, and the tool adds them up along the bottom of the screen. This design comes to $4,645,000 a month across the 82 parts with an estimate. Fifteen parts have none, and Cortex says so instead of inventing a number.
| Application | Estimated monthly cost |
|---|---|
| Data and personalisation | $988,000 |
| Open Connect video delivery | $986,000 |
| Content supply chain | $799,000 |
| Engineering and resilience platform | $797,000 |
| Playback and discovery | $566,000 |
| Membership and payments | $359,000 |
| Viewer experience | $150,000 |
These are placeholders, so look at the shape. Playback is the application everybody draws in the interview, it has the most parts, and it is fifth on the list. Delivery has six parts and costs nearly the most. Data costs as much as delivery, and almost all of it is things no viewer ever sees.
When a design carries its own costs, "what will this cost us?" stops being a meeting and becomes a number you can argue with.
4. The quiet single point of failure is the event bus
The stress test can also fail every part in turn and rank them by damage:
| Part taken down | Other parts that stop |
|---|---|
| AWS cloud foundation | 53 |
| Operational event backbone | 25 |
| Packaged media origin | 21 |
| Subscription and billing store | 21 |
| Multi-region service compute | 20 |
The cloud provider at the top is no surprise. The second row is the one I would lose sleep over. The event backbone is the Kafka stream that carries viewing, billing and media events between applications. It is what teams reach for to decouple services, and it is the second most damaging thing to lose, because everyone ended up depending on it.
Shared infrastructure built to reduce coupling becomes the coupling. I have seen it in real companies more than once. This is the first time a tool has ranked it for me.
5. A third of the system is a factory no viewer ever sees
Interviews spend their time on the moment someone presses play. The model spends sixteen parts on what has to happen before a title can be played at all.
The content supply chain is a production line. A studio delivers a source file. Workers bring it in, inspect it, encode it, add audio and subtitles, prepare artwork, then package and encrypt it. An orchestrator moves each title through queues, and a rights service decides where and when it may be shown.
The plan the architect wrote treats it like a factory too. Its acceptance tests are about what happens when the line breaks:
- A workflow restarts at its last finished stage after a worker crashes, without publishing the same output twice.
- A title missing any required check, such as rights, encryption or quality, cannot be published.
- No failed job is retried forever.
Those are tests a team could build against tomorrow. And because Cortex is also an MCP server, a coding agent such as Claude Code or Cursor can read that same plan, check whether a dependency is allowed before it adds one, and build to the design instead of around it.
Where the model is wrong
- The stress test does not know about fallbacks. A part stops when anything it relies on stops. A real service keeps playing when recommendations are down. So read the results as "what to look at", not "what will happen".
- The costs and the availability figure are rough. They show proportion and worst case, not a forecast.
- Only Chaos Monkey was read from real code. The rest is a design, and it is marked that way everywhere.
The decision record the architect wrote lists these limits itself. I did not have to add them.
Now do it to your own system
You are not building Netflix. The decision record says so too: it considered a plain three-tier app and called it cheaper and better for a first product.
The point is what you can do once your architecture is a model and not a picture. Yours already exists in your code, so you do not have to draw anything:
- Connect a repository. Cortex reads it and draws the system that is really there.
- Take your most important database down in the stress test and see what stops.
- Ask the architect for a change you have been putting off, and get it back as a plan laid over today's system.
- Connect your coding agent, so it builds to that plan.
One project is free for one person, with no card. The Team plan is $199 a month for the whole team, not per seat, with a 14-day trial.
- Open the live demo, no account needed
- Connect your own repository, free
If the stress test shows you something you did not expect, tell me. That is the most useful thing anyone can send me right now.


