The cache key
Difficulty 2 of 5
Tracking parameters create 100 raw keys for each product. The small cache hits only about 3 percent of raw keys. Reach a 90 percent hit ratio and keep p99 below 150 ms. Do not change the requests.
0:00. The cache hit ratio is near 3 percent. Graph: database reads track total reads almost exactly.
1,600 keys · hit 81% · mean 3.2 ms
Goals and limits
- Hit ratio
- at least 90%
- p99 latency
- under 150 ms
- Monthly cost
- under 30 USD/mo
- Parts you can add
- Redis cache
- Part limit
- 16
- Edit limit
- 3
- Traffic
- 5,000 req/s
Concepts
How players did
Player results load from the server.