Backpressure
Difficulty 2 of 5
For 30 seconds, callers send 1,000 one-second jobs each second. The workers cannot keep up. Lose no accepted job. Keep the oldest job below 3 s and p99 below 150 ms.
Buffer 1,000 jobs · last job waits 1.0 s · 17% turned away
Goals and limits
- p99 latency
- under 150 ms
- Queue lag
- under 3 s
- Error rate
- under 95%
- Lost writes
- none
- Completion time
- under 38 s
- Monthly cost
- under 100 USD/mo
- Parts you can add
- Message broker, Managed queue
- Part limit
- 16
Concepts
How players did
Player results load from the server.