Free — no signup required

Blast Radius Mathematics

2 min read

Limiting the Damage

The goal of cellular architecture is to minimize Blast Radius — the percentage of customers affected by a single failure event. Let's make this concrete with numbers.

Scenario: You have 100,000 customers evenly distributed across your infrastructure. A developer deploys a "Poison Pill" bug — a specific request pattern that causes the server process to crash immediately upon receipt.

Layered Architecture (no cells):
The poison request hits one App Server and crashes it. The load balancer, doing its job, retries the request on the next available App Server. That server crashes too. The user's browser, seeing errors, automatically retries — sending more poison requests. Within minutes, every server in the App Server tier is dead. The database connection pool, now receiving no queries, times out and closes connections. The entire system is down.

  • Blast Radius: 100% — all 100,000 customers affected.
  • Time to detect: Seconds to minutes.
  • Recovery: Requires a full fleet restart and potentially a rollback.

Cellular Architecture (20 Cells, 5,000 customers each):
The Router sends the poison request to Cell 3 (where the affected customer lives). Cell 3's servers crash. The Router's health checks detect Cell 3 is unhealthy within seconds and stops routing new traffic there. Cell 3's 5,000 customers experience an outage.

Cells 1, 2, and 4 through 20 are completely isolated. They share no memory, no CPU, no database connections with Cell 3. They continue processing requests normally.

  • Blast Radius: 5% — 5,000 of 100,000 customers affected.
  • Time to detect: Seconds (health checks on the cell boundary).
  • Recovery: Drain Cell 3, roll back the deployment to Cell 3 only, restore service.

By doubling the number of cells from 20 to 40, you halve the blast radius to 2.5%. The relationship is linear: Blast Radius = 1 / Number of Cells. This is the fundamental equation of cellular architecture.

This is one of 18 chapters

Every chapter is free — Kubernetes, Terraform, SRE, distributed systems, and more — with fast daily review built in.

Sign up free