How to Build the Cheapest Possible Stateful Processing for 1M RPS
summary
Describes Yandex.Recommendations’ architecture for a data bus built from many stateful processors to collect long-lived user-event funnels (spanning days) for training neural nets. Covers the technologies used (stateful processing at high throughput), optimizations to minimize hardware while handling ~1M RPS, and operational challenges encountered so teams can reproduce a similar low-cost, consistent, high-speed pipeline.
AI-written summary · about
chapters (18)
- 0:00Introduction
- 1:05Yandex ads auction
- 3:15Old data transfer problems
- 6:49Stateful storage solution
- 10:19Resource cost estimation
- 11:45Storage tiers optimization
- 14:59Two pipelines split
- 17:46Network replication challenges
- 18:50Direct writes to masters
- 20:17Backup strategy savings
- 21:04LSM trees overview
- 25:46Incremental backups
- 26:48New star topology benefits
- 29:17Developer workflow simplification
- 31:25Reliability and backup gains
- 32:07Error propagation
- 34:56Future improvements
- 35:17Q&A
