Hello Multitenancy World!
summary
Astra migrated from single-tenant to multitenant by containerizing Spring/Tomcat applications, running them on Kubernetes in GCP, and automating provisioning with Terraform and FluxCD. Tenant isolation is implemented either via a tenant_id column or separate databases, Kafka topics are namespaced by tenant, and Keycloak plus a permissions matrix enable per-tenant feature rollout; onboarding is one command but provisioning still takes ~30 minutes. They built a dynamic Mongo connector (context-holder with cached connections) and GitOps pipelines that work, while issues remain with timezoneed schedulers, Spring context restarts, and noisy-tenant resource limits.
AI-written summary · about
chapters (6)
- 0:00Wprowadzenie do multitenancji
- 13:10Przygotowanie do migracji
- 21:43Identyfikacja tenantów
- 35:03Automatyzacja wdrożeń
- 42:12Wyzwania i dalsze kroki
- 43:16Podsumowanie i quiz
related talks
46mMaking an Application Multitenant Without Annoying Developers
40mPanel Discussion: Multi-Tenancy in Kubernetes: Current State and Future Roadmap
25mMulti-Tenancy Architecture Lessons Learned
31mSaaS Migration: Moving From Single-Tenant to Multi-Tenant on AWS
25mMultitenant applications: how and why
28mDivide and Conquer: Multi-tenancy in Postgres
29mBuilding a Multi-Tenant Insurance Platform
14mBest Practices for Building Multi-Tenant Applications on Azure Cosmos DB
