Skip to content

Multi-tenancy isolation

Silo, pool or bridge: how SaaS systems keep tenants' data apart, stop noisy neighbours, and use shuffle sharding and cells to shrink a bad tenant's blast radius.

25 min6 steps

By the end you can
  • Choose between silo, pool and bridge tenancy models for isolation, cost and operations
  • Enforce tenant scoping on every data access, with defence in depth such as row-level security
  • Apply per-tenant quotas and fair scheduling so one tenant cannot exhaust shared capacity
  • Count shuffle shards and explain how they shrink the blast radius of a bad tenant

Silo, pool or bridge

A tenant is a customer organisation sharing your system.

Silo

  • Own stack or database
  • Easy delete and audit
  • Costly at thousands

Pool

  • Shared tables, tenant_id
  • Cheapest
  • Isolation is all in your code

Bridge

  • Mix of both
  • Silo big or regulated tenants

You serve 20,000 small businesses and 15 large banks. The banks contractually require their data in separate databases with their own encryption keys. Which model fits?

Answer this step to continue.