Multi-tenancy as Architecture
Treat tenancy as an architectural decision made per layer: silo, pool and bridge; tenant context from token to database; cells and shuffle sharding with blast-radius arithmetic; and fairness with quotas, weighted fair queuing and per-tenant admission control. For implementation depth, it links into the Multi-tenant SaaS course.
What you'll be able to do
- Decide tenancy per layer and justify it with cost, isolation and compliance
- Size cells and compute blast radius, including shuffle sharding
- Keep one tenant from degrading others with quotas and fair queuing
Before you start
Several years running production systems. Kubernetes, Linux networking, TLS and one cloud provider are assumed; basics link to the right course on this site instead of being re-taught.
How it works
Each lesson: forces → first principles → design space → failure modes with a published incident → lab where a laptop allows → the architect's lens → a design review with a Senior / Staff / Principal rubric. Each section ends with a cheat sheet & self-check.
Curriculum
Lessons are added and published progressively.
Tenancy decisions
- 01Tenancy as a cross-cutting decisionSilo, pool and bridge per layer; tenant context end to end
- 02Cells and shuffle shardingBlast-radius math, cell sizing, the cell router as a critical dependency
- 03Fairness and noisy neighboursQuotas, weighted fair queuing, admission control per tenant
Real-world scenarios
Work through each one: symptom → misleading signal → evidence → root cause → prevention.
Which shared resource had no per-tenant limit?
Which layer is pooled, and what would a bridge model change?
This site is a public version of my personal engineering knowledge hub. It intentionally excludes confidential company information and internal operational details.