Back

Session detail

Multi-Tenant Rails: Everybody Gets a Database!

Multi-Tenant
SQLite
Databases
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.

You’ll learn how to build a new multi-tenant app or migrate an existing one. You'll learn 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.

Sep 04 - 11:15 to 11:45

Track 1 - Effectenbeurs

About the speaker

Mike Dalessio

Software Developer & Gummi Bear Lover

Mike has been contributing to Ruby open source since 2006, and maintains some commonly-used gems. He's currently at 37signals on the SIP team, and previously led Shopify's Ruby and Rails Infrastructure team. He likes coffee, intimate chats, and long walks, and has been known to combine all three.

Agenda My Schedule Profile Notifications About