The history of a Rails monolith
summary
A 17‑year Rails monolith grows into a mix of private gems, services and Kafka-based event consumers, with 1.6M LOC and roughly 55,786 unit tests in the monolith; CI runs ~11,572 tests per PR (twice, for current and target Rails). Migration strategy is strict ownership via CODEOWNERS, replace monkeypatches, and a 2.5‑year effort to upgrade Rails; database becomes the bottleneck after cloud migration, so teams optimize the top 20% of queries instead of everything. Acquisitions introduce new languages (Python, Java, Scala) forcing domain fusion (example: Zopim chat → tickets).
AI-written summary · about
chapters (12)
- 0:00Introduction and past nostalgia
- 2:34Rails monolith history
- 6:04Microservices and architecture evolution
- 6:26Frontend framework wars
- 7:50Technology adoption at Zendesk
- 9:34Acquisitions and domain fusion
- 11:41Database performance challenges
- 18:51Testing and reliability
- 21:41Code ownership and maintenance
- 22:25Rails upgrades and metaprogramming
- 25:54Community and future lessons
- 26:17Performance vs scalability
