Mike Dalessio - Multi-Tenant Rails: Everybody Gets a Database!
Ruby on Rails
0:00 / 0:00
Mike Dalessio - Multi-Tenant Rails: Everybody Gets a Database!
11 042 просмотра · 1 г. назад
Ruby on Rails
27,6 тыс. подписчиков
11 042 просмотра · 1 г. назад
As Rails’s SQLite support has improved, it's finally possible to have truly multi-tenant Rails applications - isolated data for each account! - without sacrificing performance or ease of use. This talk describes a novel, production-vetted approach to isolating tenant data everywhere in Rails: the database, fragment caches, background jobs, Active Storage, Turbo Stream broadcasts, Action Mailer, and even the testing framework.
Learn how to build a new multi-tenant app or migrate an existing one, and the technical details of how Rails can support multiple tenants and strict data isolation. You'll see a live demonstration of a multi-tenant app, and you'll learn why a deployment topology like this might make sense for you, and how it scales up and out.
Find Mike's slides here: https://mike.daless.io/prez/2025-09-0...
#rails #rubyonrails #sqlite #multitenancy
Thank you Shopify for sponsoring the editing and post-production of these videos. Check out insights from the Engineering team at: https://shopify.engineering/
Subtitles (Japanese, Spanish, and Brazilian Portuguese) thanks to Happy Scribe, a transcription service built on Rails. https://www.happyscribe.com/