Worker pool size
Difficulty 2 of 5
Tune the API worker pool for 60 requests/s. Each worker holds 128 MB. The process has 2 GB of RAM. Keep p99 below 1 s without errors.
280 req/s · CPU 70% · mean 22 ms
Goals and limits
- p99 latency
- under 1 s
- Error rate
- under 0.1%
- Monthly cost
- under 160 USD/mo
- Hosts
- 8 vCPU · 32 GB
- Traffic
- 60 req/s
Concepts
How players did
Player results load from the server.