Skip to content
Tech Atlas, home
Search
Esc
  • All roadmapsBrowse every learning path
  • ExploreFind a technology area
  • ProjectsGuided projects and builds
  • My AtlasYour learning dashboard
Skill

Multi-Tenant SaaS Architecture

Design a SaaS system that serves many tenants from shared or dedicated resources, with tenant context enforced end to end, isolation proven by tests, and noisy neighbours and cost per tenant under control.

Advanced1 roadmap

4 objectives 6 steps about 140 min

Check what you know

The lessons are coming later. The knowledge check is ready now.

Take the knowledge check

This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.

Learning objectives

  • Choose a tenancy model (silo, pool or bridge) per tier (compute, data, storage, messaging) from isolation, compliance, cost and operational needs, and define tenant tiers that can move between models.
  • Propagate tenant context from a verified identity to every data access, cache key, message and log record, and enforce it with row-level security or per-tenant schemas, databases or keys.
  • Prove tenant isolation with negative tests that attempt cross-tenant access through the API, queries, caches and message consumers, and show that the tests fail when a control is removed.
  • Contain noisy neighbours with per-tenant quotas, throttling and fair scheduling, attribute cost per tenant from metering, and plan tenant onboarding and verifiable offboarding.

Lesson plan

6 steps, about 140 min · 0 of 5 lessons available so far

  1. Tenants, tiers and the silo-pool-bridge spectrum Concept · 20 min · coming later
  2. Carrying tenant context from token to row, key and message Concept · 25 min · coming later
  3. Turning a single-tenant product into a pooled SaaS Worked example · 30 min · coming later
  4. Proving isolation with row-level security and cross-tenant tests Lab · 30 min · coming later
  5. Noisy neighbours, metering and the tenant lifecycle Concept · 20 min · coming later
  6. Tenancy design check Knowledge check · 8 questions

Practise it

Make a single-tenant sample service pooled multi-tenant: a tenant claim in tokens, a tenant id on every table with row-level security, tenant-prefixed cache keys and message headers, a per-tenant rate limit and usage meter, and a cross-tenant test suite whose attempts all fail and which itself fails when one policy is removed; record the tenancy model per tier in an ADR.

References

Hard prerequisites

Unlocks

Nothing depends on this skill yet.

On these roadmaps

Progress and evidence for this skill are shared across all of them.