Throttle the backfill
Difficulty 4 of 5
A logic fix means a year of daily totals must be recomputed: 30 million row upserts into the serving database. The live pipeline writes 3,000 rows/s to the same database. Finish the backfill within 2 hours and keep live p99 below 50 ms.
2 workers · 1 TB moves in 1.1 h · 1,000 Mbps per card
Goals and limits
- p99 latency (Live)
- under 50 ms
- Completion time (Backfill)
- under 7,200 s
- Lost writes
- none
- Monthly cost
- under 160 USD/mo
- Parts you can add
- Worker, Batch engine, Rate limiter
- Part limit
- 4
- Traffic
- 3,000 req/s
Concepts
How players did
Player results load from the server.