~/talk

Making an Application Multitenant Without Annoying Developers

TalkinFrenchat Devoxx France 2024 · 2024-04-17..04-19· [software-architecture, developer-experience]
links:none on file
links:none on file
slides:none on file

Mirakl describes converting a Java/Spring monotenant app into a multitenant system using PostgreSQL, Kafka and OpenSearch. The approach uses tenant-scoped Spring beans with a tenant holder and request filter to route to the correct datastore, per-tenant PostgreSQL databases for physical isolation, OpenSearch aliases to enforce tenant filters, and Kafka header propagation for background processing; this enabled serving ~300 production clients with no data leaks while reducing costs and adding quotas and segmented monitoring.

AI-written summary · about

  1. 0:00Introduction
  2. 2:28Monotenant architecture issues
  3. 7:20Multitenant architecture choices
  4. 13:20Multitenant database strategies
  5. 21:02Custom Spring scope
  6. 31:05Production best practices
  7. 35:56Blast radius management
  8. 40:26Summary and feedback
~/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.