Token bucket per API key
Difficulty 3 of 5
Three partner keys share one API that serves about 1,000 requests/s. From 0:20, the acme key sends 8 times its normal 150 requests/s. Bolt peaks at 250 requests/s. Keep bolt and cedar at 99.5 percent availability and p99 under 250 ms. Add one part.
Buffer 1,000 jobs · last job waits 1.0 s · 17% turned away
Goals and limits
- p99 latency (*)
- under 250 ms
- Availability (Bolt)
- at least 99.5%
- Availability (Cedar)
- at least 99.5%
- Monthly cost
- under 16 USD/mo
- Parts you can add
- Rate limiter, API gateway, Load balancer (L7)
- Part limit
- 1
- Traffic
- 200 req/s
Concepts
How players did
Player results load from the server.