~/talk

HOW TO SAFELY SPLIT YOUR MULTI-TENANT APPLICATION (BASED ON REAL EXAMPLES!)

Talkat Euruko 2023 · 2023-09-21..09-23· [databases]
links:none on file
slides:none on file

Real case: a single Rails multi-tenant app for ApplyFor splits into two regionally isolated deployments by choosing full separation (two apps, two DBs) and doing the migration in two stages. Stage one uses DNS geolocation + load balancers with 302 redirects and rel=alternate links to route users; stage two adds a bucket column to tables, fills it top‑down from tenant.country, copies filtered DB tables (faster than deletes), migrates files to region folders with fallback, rehearses, notifies clients, and succeeds without data loss.

AI-written summary · about

  1. 0:00Introduction
  2. 1:16Multi-tenant growth challenge
  3. 4:09Multi-region data compliance case
  4. 7:22Approaches to split data
  5. 9:49Gradual migration strategy
  6. 11:39DNS user redirection
  7. 15:14Step-by-step region splitting
  8. 17:22Bucketing for separation
  9. 21:00Top-down data splitting
  10. 24:10File separation & migration finalization
  11. 25:59Go-live checklist
  12. 28:10Summary
~/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.