~/talk

Multi-tenant SaaS apps made simple on Azure Cosmos DB for PostgreSQL

Talkat SQLBits 2023 · 2023-03-14..03-18· [databases]
slides:none on file

Explains how Azure Cosmos DB for PostgreSQL (Citus extension) actually distributes rows into shards, requiring a distribution key and giving concrete limits: 100,000 tenants per 16 vCPU node for row-sharding, ~4–5k per node for schema-per-tenant and ~100 per node for database-per-tenant. Describes coordinator vs worker nodes, multi-tenant monitoring (queries and CPU per tenant), distributed/reference/local tables, online rebalancing and tenant isolation to eject noisy neighbors, and practical tradeoffs for reads, writes and backfilling.

AI-written summary · about

  1. 0:00Intro
  2. 1:16Multi-tenant SaaS
  3. 9:36Row based vs Schema Based vs Database Sharding
  4. 18:27Azure Cosmos DB for PostgreSQL
  5. 20:22Terminology
  6. 24:11Pick a distribution key
  7. 29:19Identify types of tables
  8. 30:22Distributed Tables
  9. 33:09Reference Tables
  10. 34:31Local tables
  11. 35:21Modify your application
  12. 36:50Monitor - upcoming in Citus 11.3
  13. 40:15Isolate tenant
  14. 41:04Rebalance
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.