Taming Monoliths Without Microservices
summary
A company of ~100 engineers runs a 13‑year Rails monolith with ~700 models and moves about $1B/month; the concrete claim is that careful internal boundaries make microservices optional and safer to adopt. Teams build thin adapters that send value objects instead of ActiveRecord across domains, introduce service objects and avoid callbacks, and experiment to make ActiveRecord private in modules. A slow, measured migration (200 PRs in eight weeks to reach one twelfth of a goal) proves the approach works.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 7:12Presentation Structure
- 11:29Breaking Model
- 16:48The swamp
- 21:59Conceptual compression
- 23:49Avoid circular dependencies
- 25:39Use value objects
- 27:32Private module
- 28:06Avoid callbacks
- 29:51Service objects
- 31:16Move slowly
- 32:10Make the change easy
- 33:37Questions
related talks
21mTaming Monoliths Without Microservices
34m"Taming your Rails monolith"
26mMonolith-ifying perfectly good microservices
28mBringing Your Rails Monolith Along As The Business Grows
30mMonolith-ifying perfectly good microservices
27mScaling a Rails Monolith w/Event Driven Microservices
40mMonoliths Between Microservices
43mThe history of a Rails monolith
