The hot key
Difficulty 2 of 5
Four cache replicas have plenty of total CPU. At 0:10, one key starts to get 90 percent of 200,000 reads/s. Keep p99 below 150 ms and errors below 0.1 percent.
0:10. One cache replica is at full CPU. Graph: 1 replica line at 100 percent, 3 replica lines almost idle.
Hash ring · 3 to 4 nodes · 8 of 36 keys move
Goals and limits
- p99 latency
- under 150 ms
- Error rate
- under 0.1%
- Monthly cost
- under 250 USD/mo
- Parts you can add
- Redis cache, Local cache
- Part limit
- 16
- Edit limit
- 3
- Traffic
- 200,000 req/s
Concepts
How players did
Player results load from the server.