Lessons and Insights from Developing Airbnb's Read-Optimized Stores Framework
summary
Read-Optimized Stores (ROS) is a generated pipeline framework that turns team GraphQL schemas and business logic into real‑time stream jobs and Spark backfills, running over Kafka and writing to sinks like Elasticsearch and key‑value stores. It handles 20k events/sec for ~80 materialized views, uses GraphQL code generation and Kafka partitioned by document ID to avoid races, and runs Spark backfills plus Datadog dashboards for capacity and lag. Adoption shows large latency and reliability wins across 25 teams.
AI-written summary · about
chapters (20)
- 0:00Introduction and thanks
- 0:42Airbnb's growth and challenges
- 2:28Listing page architecture evolution
- 4:35In-memory join model issues
- 6:39Materialized views introduction
- 8:01Materialized view challenges
- 9:25Read-Optimized Stores Framework
- 10:09Client interface and GraphQL
- 11:33ROS pipeline under the hood
- 12:38Offline bootstrapping process
- 13:19Monitoring and dashboards
- 14:40Concurrency challenge example
- 16:26Solving concurrency with Kafka
- 19:13Current adoption and metrics
- 19:56Investing in developer interfaces
- 20:37Ownership model challenges
- 22:42Future platform improvements
- 23:46Platforms enable scaling
- 24:07Materialized views benefits
- 25:31Q&A session
