~/talk

Multitenancy: cost-efficient and scalable patterns for Software-as-a-Service

Talkat Jfokus 2022 · 2022-05-02..05-04· [databases, java]
links:none on file
slides:none on file

Compares three concrete multitenancy patterns with working Spring Boot demos: database-per-tenant (separate DBs, Liquibase bootstraps per DB, good isolation but hits resource limits around hundreds/thousands of tenants), schema-per-tenant (shared DB, per-schema migrations, simpler connection handling but migrations must run in parallel), and shared-database with discriminator plus Postgres row level security (single schema, minimal overhead, scales to very high tenant counts). Shows Hibernate and R2DBC wiring, a shard example (max two tenants per shard in demo) and confirms the implementations work.

AI-written summary · about

  1. 0:00Start
  2. 3:32Data Aggregation and Business Intelligence
  3. 3:58Building Software as a Service Solutions
  4. 6:35Data Separation Requirements
  5. 7:50Customizability
  6. 9:21Performance Isolation between Tenants
  7. 13:16Data Migration Tools
  8. 20:28The Database per Tenant Pattern
  9. 22:23Management Application
  10. 26:06Hibernate Abstraction
  11. 34:04Implementation Shared Database
  12. 36:57Row Level Security
  13. 46:18Takeaways
~/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.