~/talk

Multitenancy from scratch

TalkinPolishat Confitura 2023 · on Saturday, 2023-06-24· [kubernetes, microservices]
links:none on file
slides:none on file

Describes migrating a Spring/Tomcat monolith to a multitenant service on GCP by containerizing to Kubernetes, using Keycloak for authentication, Kafka for events, and per-tenant MongoDB (or per-schema where needed). Automation uses Terraform and Jenkins to script tenant provisioning; tenant routing is done with an X-Tenant header set by ingress and stored in ThreadLocal, with custom libraries multitenantPropertyLoader and multiconnector to create and cache per-tenant database connections.

AI-written summary · about

  1. 0:00Introduction
  2. 3:43Why multitenant architecture
  3. 8:58Multitenancy pros and cons
  4. 12:07Astra history
  5. 15:17Migration planning
  6. 21:35Preparing multitenant environment
  7. 22:59Tenant identification
  8. 26:09Per-tenant database connections
  9. 28:40Module communication
  10. 31:52New tenant automation
  11. 33:19Multitenancy challenges
  12. 39:22Legal data separation
  13. 44:46Cache in reactive apps
  14. 46:32Noisy neighbor mitigation
  15. 48:16Q&A
~/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.