Bad batch
Difficulty 4 of 5
A supplier sends 1,000 price updates/s. Ingest writes each one to the catalog database and the search index. At 0:20 a bad batch starts: for 15 s, 40 percent of the prices are in cents, not euros. Keep 0 bad prices in the shop, errors under 0.1 percent and p99 under 2 s.
2 workers · 1 TB moves in 1.1 h · 1,000 Mbps per card
Goals and limits
- Data mismatches
- none
- Error rate
- under 0.1%
- p99 latency
- under 2 s
- Monthly cost
- under 120 USD/mo
- Parts you can add
- Stream processor, Worker, Message broker
- Part limit
- 2
- Traffic
- 1,000 req/s
Concepts
How players did
Player results load from the server.