Mega Rails
summary
Square describes how a Rails app hits a wall: ~1,000 controllers, billion-row analytics tables, and $30,000 MySQL boxes with Fusion‑IO cards to survive IO. Tests take too long, a single refresh during deploy can bring services down, and mail templates and analytics clog the main app. The solution is concrete: add service interfaces (minimal internal APIs), extract to private gem for reusable libs, then replicate and ETL your data and cut services out into separate deploys.
AI-written summary · about
chapters (25)
- 0:00Jack Danger
- 0:52Square
- 1:35Mega Rails
- 5:25Can Rails scale
- 5:50Scaling problems
- 6:53Developer headcount
- 7:13Early days
- 7:46Analytics
- 8:09Rails can do anything
- 8:44Subclass action mailer
- 9:12Users
- 10:47Tradeoffs
- 11:38Examples
- 11:52Multiple queries
- 13:01Postgres
- 15:24User Data
- 17:47Logging
- 18:07Data Analysis
- 19:07Admin Interface
- 21:02Ownership
- 23:46Rails
- 25:25Building a Service Interface
- 27:17Marketing Frontend
- 28:34Git Clone
- 29:22Conclusion
related talks
32mBuilding HUGE Web Apps: Rails at 1,000,000 Lines of Code
33mServices and Rails: The Shit They Don't Tell You
34mIndustrial Rails
28mServices and Rails: The Shit They Don't Tell You
37mThe Recipe for the Worlds Largest Rails Monolith
42mHow Rails fosters a diverse and competitive tech ecosystem in the era of big tech
31mA Rails performance guidebook: from 0 to 1B requests/day
33mServices and Rails: The Sh*t They Don't Tell You
