Multi-tenancy & Isolation

Pooled multi-tenant DB

You host 20k SMB customers on one Postgres cluster. How do you prevent cross-tenant data leaks in SQL, caches, and background jobs?

Advanced drill question.

Write it as you would say it in the interview: assumptions, the design, tradeoffs, and what you would do next. The draft saves in this browser.

Review the lesson