Writing · · 7 min read

We designed a Netflix-style enterprise architecture in Cortex Architect. One click found the flaw.

A whole Netflix-style streaming organisation as a model you can question: 97 parts, nine applications, a cost, a plan with tests. One click showed a billing outage stopping all playback. See how, then try it on your own systems.

  • architect
  • enterprise architecture
  • showcase
  • system design
  • netflix architecture

An enterprise architecture usually lives in a slide deck. It took weeks of workshops to draw, it was approved once, and nobody can ask it a question. What does it cost? What stops if this database goes down? Why is there no advertising service? The deck does not know.

We wanted to show what changes when the architecture is a model instead. So we designed a whole organisation in Cortex Architect: a Netflix-style streaming platform with 97 parts and 178 connections across nine applications. Then we asked it the questions.

The first answer was that a billing database outage stops every TV, phone and browser from playing. It took one click to find.

The landscape of the Netflix-style platform: a subscriber, nine applications and the connections between them.

This is a reference design built on patterns Netflix has described in public, such as Open Connect, Zuul-style edge routing, per-title encoding and Chaos Monkey. It is not Netflix's own architecture, the figures are not Netflix's, and we have no connection to Netflix.

It starts from what you already have

No enterprise architecture starts from nothing. There is always a system running today, and a design for where it should go. Most tools make you draw both by hand.

Cortex Architect reads the first from your code. Here the real code was Netflix's open source Chaos Monkey repository. We connected it, and Cortex drew what is there: a command line tool, a MySQL database that keeps schedules and termination history, a cron job, and a dependency on Spinnaker.

Then we asked the architect in the side panel to design a realistic streaming platform around it. Nobody drew it box by box. The architect proposed the organisation as nine applications:

Application What it covers Parts
Viewer experience TV, mobile and web apps, the API gateway 6
Playback and discovery Sessions, manifests, DRM licences, catalogue, search 17
Membership and payments Accounts, plans, billing, entitlements, support 16
Content supply chain Ingest, quality checks, encoding, packaging, rights 16
Open Connect video delivery Caches inside ISP networks, steering, origin storage 6
Data and personalisation Events, the data lake, experiments, recommendations 15
Engineering and resilience platform Compute, deployment, secrets, failover 10
External partners Payment providers, studios, ISPs, telecom partners 7
Chaos engineering The existing Chaos Monkey repository 3

What exists is drawn solid. What is only designed is dashed and says "Proposed". Today and planned sit on one canvas, and you can switch between them.

Double-click an application and you are inside it, with its services and data stores in front of you and the neighbouring applications kept at the edge, so you never lose where a call comes from.

Inside playback and discovery: eleven services and six data stores, with the neighbouring applications on the left.

Question one: what stops if this goes down?

Open the stress test, pick a part, and take it down. We picked the subscription and billing store.

The stress test with the subscription and billing store taken down: 21 other parts stop, and the path of the failure is marked in red.

Twenty-one other parts stop, and 6 of the 11 ways into the system with them. The panel lists every one with its reason. The store is down, so the entitlement service stops. The manifest, session and DRM licence services ask the entitlement service, so they stop. The gateway stops. The TV, mobile and web apps have nothing to talk to.

Nobody designs that on purpose, and it would have passed a review of the diagram. The model found it in one click, and it leaves you with the right question for the review: how long may playback trust a cached entitlement when billing cannot be reached?

You can also fail every part in turn and get them ranked:

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

That table is the start of a resilience programme, and it came from the design, before anything was built.

Question two: what does it cost?

Every part can carry a monthly cost, an availability target and a response time. Cortex adds them up along the paths through the system and keeps the totals at the bottom of the screen: $4,645,000 a month, 98.92% along the worst chain of dependencies, 1,040 ms on the slowest path, five single points of failure.

Open the cost and you see where it goes. Delivery and data are about $1 million a month each. The content supply chain and the engineering platform are about $800,000 each. The device apps are $150,000. Fifteen parts have no estimate yet, and the model says so. It does not fill in numbers nobody gave it.

Change the design, and the totals change with it. A proposal shows what it adds before anyone approves it.

Question three: why is it built this way?

The design has an accepted decision, "Netflix-style reference architecture boundaries", and it keeps its reasons. Two alternatives were weighed:

  • One three-tier streaming application. Much cheaper, and right for a small first product. Not chosen, because it hides the boundaries of a large organisation.
  • A bought-in CDN with one backend. Less to build. Not chosen, because it hides the split between deciding who may watch and delivering the video.

That split is the heart of the design. Playback services in the cloud decide whether a viewer may watch and hand the player a manifest. The video never passes through them. It comes from caches inside internet providers' networks.

Open Connect style delivery: steering, a cache control plane, origin storage, and caches in ISP networks and at internet exchanges.

The decision also records what was left out: live sports, games, advertising and DVD rental. A year from now, when someone asks why, the answer is one click away and not in somebody's memory.

A decision can also become a guardrail, a rule that is checked against the real code every time the code is read. When the system moves away from the design, you see it as drift.

Question four: how would we build it?

The design is saved as a plan with nineteen acceptance criteria, written as things a team can test:

  • A device gets a playback manifest only when identity, subscription and territory rights, device compatibility and stream policy all pass.
  • Repeating the same billing attempt cannot charge a member twice.
  • A media workflow restarts at its last finished stage after a worker crashes.
  • When recommendations or search are down, discovery falls back and authorised playback carries on.

It also lists nine open questions, such as which payment providers are chosen and which teams own each application. Cortex Architect does not guess about your organisation. What it does not know, it asks.

This is also where your coding agents come in. Cortex Architect is an MCP server. Claude Code, Cursor, VS Code, Codex and other agents connect with one command, read the same plan, and check whether a dependency is allowed before they add it. The design is not a document the agents never see. It is what they build from.

What you get from one model

  • Diagrams at every level, from the whole organisation down to one service, that agree with each other because they are one model.
  • A stress test, a cost and a design score that update when the design does.
  • Decisions with their reasons, and guardrails checked against real code.
  • Plans laid over today's system, with tests.
  • The documents people keep asking for: an overview, a component catalogue, a cost model, a risk register, written from the model so they do not go stale separately.
  • A presentation. Press Present and the architecture walks through itself, scene by scene.
  • Your coding agents on the same page, over MCP.

What it does not do

We would rather you read this here than find it later.

  • The figures in this design are illustrative. They show where money would go, not what anyone pays.
  • The stress test does not model fallbacks yet. A part stops when anything it relies on stops, so read the result as where to look, not as a forecast. The same goes for the availability figure, which is a worst case.
  • Only the Chaos Monkey parts were read from code. The rest is a design, and it is marked as one everywhere.

Ask your own architecture a question

You do not need to be a streaming company. You need one system you know well.

  1. Open the demo and click through the product on a sample system. No account.
  2. Start free and connect a repository. One project is free for one person, with no card.
  3. Take your most important database down in the stress test, and see what stops.

The Team plan is $199 a month or $1,990 a year for the whole team, not per seat: unlimited projects, up to ten people who can edit, and as many viewers as you like, with 14 days to try it. See the plans.

If you look after the architecture of a whole organisation and want to see this on your own systems, write to us. We will set it up with you.