techdiagrams.net
← All templates

Cell-based architecture

Tenants shuffle-sharded into self-contained cells behind a thin router — a bad deploy or poison tenant takes out one cell, never the fleet.

Open in editor — free, no login Download JSON
CELL 1 — TENANTS SHUFFLED HERECELL 2CELL 3request · tenant idtenant → cell lookuprouting table updatesTenantsA → ZCell Routerthin · cached routing tableAPIcell 1DBcell 1 · isolatedAPIcell 2DBcell 2 · isolatedAPIcell 3DBcell 3 · isolatedControl planecreates cells · migrates tenantsshuffle sharding: each tenant is assigned 2 of 3 cells.A poison tenant hurts only its shuffle-set —most tenant pairs don't even share one cell.

What this design does

Instead of one big system that fails for everyone at once, the fleet is divided into identical self-contained cells, each with its own compute and data. A deliberately thin router maps tenants to cells from a cached table — and thanks to shuffle sharding, each tenant lands on a small random subset, so even a poison tenant or a bad cell only touches its shuffle-set. The control plane provisions cells asynchronously; the data plane keeps serving even if the control plane dies. This is how AWS-scale services cap their blast radius.

The patterns it composes

Import it, attach your own numbers, and verify the design against failures — or read the engineering notes.