Architecture & DesignIntermediate
Multi-tenant SaaS
PronunciationMUL-tee TEN-ant SASS
Definition
One application serves many customers (tenants). They share the same system, but each one sees only its own data.
Where you hear it
SaaS product design and security reviews.
Examples
Each clinic is a tenant and cannot see another clinic's data.
Add a
tenant_idto every table.
Common mistake
Forgetting the tenant filter in one query. That single bug can leak one customer's data to another.
Keep exploring
More in Architecture & Design