How it works · 27 of 49 Advanced

What is cell-based architecture and blast radius?

Fail for some, never for all

Cells & blast radius: A cell is a complete, independent copy of the system (its own servers, its own data) serving one slice of customers, chosen by a partition key such as the customer id. A thin router sends each request to its customer's cell and does nothing else. A bad deploy, a poison request or a full disk then hits one cell's customers, not everyone: with 8 cells, one failure reaches one customer in 8. Deploys go out in waves, one cell first, and wait before the next. The price: many copies to run and watch, a router every request crosses, and customers too big for one cell.

Loading the animation…

Say it like this Cells are complete copies of a system, each serving its own slice of customers behind a thin router, so a bad deploy or a poison request hits one cell's customers instead of everyone; deploy to them in waves and the failure stops at the first cell.

Under the hood — for builders
The sources, in their words
AWS ("Reducing the Scope of Impact with Cell-Based Architecture", 2023): "Each cell is independent, does not share state with other cells, and handles a subset of the overall workload requests." Colm MacCárthaigh (Amazon Builders' Library, 2019): "A 25 percent impact is much better than a 100 percent impact."
Words
Cell: a complete copy of the workload. Partition key: what picks a customer's cell (customer id). Cell router: "the thinnest possible layer" (AWS). Blast radius: who one failure reaches. Poison pill: a request that crashes whatever serves it.
Run here: how far a bad deploy spread
1,000 customers, 100 deploys a year, 8% bad. A bad deploy is noticed after serving a while: 70% of bugs within ~10 minutes, 30% only after ~2 hours. 8 cells, waves of 1, 2 and 5 cells, 60 minutes apart. The 25 bad deploys of three runs:
Run here: customer-minutes of failure
Customers hit × minutes until rolled back, per year, in each run:
Shuffle sharding
MacCárthaigh: give each customer two of eight workers; "there are 28 unique combinations", so one bad customer reaches "just 1/28th".
How to build them
Partition key on every request · router with no business logic · each cell sized and tested to a fixed limit · a control plane that adds cells and moves customers (AWS).
Measure it
Errors and latency per cell, not only overall · the largest share one failure can reach · time to notice vs wait between waves.
Watch out
The router and the control plane are shared: a bug there reaches every cell. Calls between cells undo the isolation. Our run is a toy.
Sources
AWS Well-Architected, "Reducing the Scope of Impact with Cell-Based Architecture", 2023 · Colm MacCárthaigh, "Workload isolation using shuffle-sharding", Amazon Builders' Library, 2019 · both read in session · deploy simulation, Python, 19 Nov 2026.

What happens in the cells & blast radius animation, step by step?

  1. One copy of the system serves all 1,000 customers. A bad deploy reaches every one of them.
  2. Cells: complete copies of the system, each serving its own slice of customers. A thin router sends each customer to their cell.
  3. Your turn: the same bad deploy goes to one of the 8 cells first. What share of customers is hit? Pick below.
  4. One cell goes dark; seven keep serving. 125 of 1,000 customers are hit: 12.5%, not 100%.
  5. Deploy in waves: one cell, wait, then more. The bad deploy is caught in cell one and rolled back before it spreads.
  6. The price: more copies to run, and a router every request crosses, so keep it the thinnest layer. Next: fail partly, on purpose.

What everyday example explains cells & blast radius?

A honeycomb: one cell spoils, the hive lives.

Why should a team care about cells & blast radius?

"a bad deploy should hit 5% of customers, not all" is a design decision, not a hope: it needs copies that share nothing and a deploy that waits between them.