RED for the service, USE for the disk
Difficulty 2 of 5
Photo pages read 64 KB documents at 8,800 reads/s. Users see p99 5.7 s and 10 percent errors. API CPU: 33 percent. Document store: CPU 15 percent, disk operations 18 percent busy, disk throughput 113 percent of its 500 MB/s limit. Pick the fix. Budget: 70 USD/mo.
Options
- Add 2 API servers
- Double the document store CPU to 4 vCPU
- Move the documents to a 1,000 MB/s disk volume
Goals and limits
- p99 latency
- under 100 ms
- Error rate
- under 0.1%
- Monthly cost
- under 70 USD/mo
- Traffic
- 8,800 req/s
Concepts
How players did
Player results load from the server.