How to Tame Your Microservices: Evolving Airbnb’s Architecture
summary
Airbnb moves from a Ruby monolith (Monorail) into SOA starting 2016, freezes Monorail in 2019, and now runs over 500 services for >2000 engineers. Problems: exploding dependency graphs, duplicated business logic, and overloaded data services. Built a GraphQL-style data aggregation layer, a computed-data platform (config + lambdas), service-block facades, Thrift for IDLs, and Kafka-driven offline precomputation. Pilots for users/homes/pricing show practical wins — including 30% lower latency on migrated read paths — and faster developer velocity.
AI-written summary · about
chapters (15)
- 0:00Introduction and growth story
- 1:25Monolith challenges and migration
- 3:53Service-oriented architecture v1
- 7:31SOA v1 benefits and limitations
- 10:22SOA v2 challenges identified
- 12:28Developer velocity and scalability issues
- 14:14SOA v2 patterns introduction
- 15:20Decomposing presentation services
- 18:21Data aggregation with caribou pattern
- 21:33Computed data as a platform
- 25:47Service blocks for verticals
- 29:45Facade and data platform integration
- 31:57Pilot blocks and migration strategy
- 33:23SOA v2 architecture overview
- 35:29Key takeaways and future plans
