~/talk

Multi-region data governance in Rails application

Talkat wroc_love.rb 2023 · 2023-09-15..09-17· [ruby-on-rails, privacy-and-compliance]
links:none on file
slides:none on file

Moves a Rails app from single-region multi-tenant to two fully separated region-specific apps, using Route 53 geolocation DNS to steer users and ALB path rules to redirect country-coded URLs; keeps data intact while creating region-aware infrastructure, then splits data by adding a bucket integer column to tables, filling buckets top-down from Authority, creating new per-region tables and swapping names (faster than deletes). Files move via changed paths and DataSync for files. Chrome caching forces a 302 workaround for redirects. Process rehearsed on staging and succeeds in production.

AI-written summary · about

  1. 0:00Intro
  2. 1:50Success story
  3. 7:08Multiregion data governance
  4. 11:47Multiregion options
  5. 12:47Hybrid option
  6. 14:47Data flavors
  7. 17:17Data separation
  8. 18:17Redirect users
  9. 19:02Business requirement
  10. 20:42Tools
  11. 22:07Load Bouncer
  12. 24:27Alternate Links to Point
  13. 25:27Separate Data
  14. 26:07Splitting Data
  15. 28:47Bucket implementation
  16. 29:47Authority
  17. 31:57Topdown approach
  18. 33:42Regions
  19. 34:37Separate the database
  20. 36:17File split up
  21. 40:07Planning
  22. 41:47Rehearsal
  23. 43:47Last advice
  24. 44:22Wrap up
  25. 45:22Questions
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.