Multi-tenancy is how one codebase serves many customers safely.
Multi-tenancy is the architectural pattern where a single application instance serves many customer organizations ('tenants') from shared infrastructure. It's the foundation of the SaaS economic model — infrastructure amortized across all customers, releases shipped to everyone at once, unit costs that fall as scale grows. The specific isolation model you choose (how strongly one tenant's data is separated from another's) affects security, compliance, cost, and engineering complexity for the life of the product.
(1) Pool (shared) — one database, one schema, tenant_id column on every table. Cheapest, fastest to build, biggest blast radius from bugs. Standard for SMB SaaS. (2) Silo (isolated) — one database per tenant. Strongest isolation, highest ops cost, standard for enterprise/regulated. (3) Bridge (schema-per-tenant) — middle ground: one database, one schema per tenant. Better isolation than pool, less ops overhead than silo. Most SaaS companies start Pool and migrate high-value tenants to Silo as enterprise deals require it.
In the Pool model, tenant isolation depends entirely on every query filtering by tenant_id. A single missed WHERE clause becomes a cross-tenant data leak — the single scariest bug in SaaS. Modern databases (Postgres RLS, Supabase policies) let you enforce isolation at the database level: policies that automatically filter every query by the connecting user's tenant_id. This turns 'developer must remember' into 'database enforces' — a dramatic security improvement.
In Pool architectures, one tenant's heavy usage can degrade performance for all tenants. Mitigations: (a) rate limits per tenant on expensive operations, (b) queue prioritization by tenant tier, (c) read replicas for large tenants, (d) migrate the noisy tenant to Silo. Not addressing noisy neighbor eventually produces enterprise customer complaints ('the app was slow yesterday') that trace back to a different customer's batch job.
Single-tenant (Silo) instances are typically offered as an Enterprise SKU add-on ($20K-$100K+ premium annually). They make sense when: (a) regulatory requirements (some healthcare, financial services, government), (b) data residency requirements the multi-tenant deployment can't meet, (c) strategic accounts where blast-radius risk is unacceptable to the customer. Offering single-tenant to every enterprise buyer erodes SaaS economics; offering it selectively unlocks deals that wouldn't close otherwise.
Some enterprise customers demand more than single-tenant SaaS — they want deployment in their own cloud (BYOC, Bring Your Own Cloud) or on-prem. BYOC (Confluent, Databricks) runs your control plane in your cloud and the data plane in the customer's VPC. On-prem is the extreme case — vendor-managed software running entirely on customer infrastructure. Each deployment model doubles the engineering complexity but unlocks a distinct enterprise segment.
Investor directory · Fundraising library · Articles A–Z · Company funding database