Polling storm
Difficulty 2 of 5
One hundred thousand clients poll every two seconds. Each client gets a new value only every 20 seconds. Keep p99 below 200 ms and CPU below 60 percent.
0:00. Server CPU is far above 60 percent. Graph: polls per second stay flat, and most return no new value.
HTTP/1.1 · connections: 6 · 30 files in 7 round trips, 630 ms
Goals and limits
- p99 latency
- under 200 ms
- CPU use
- under 60%
- Monthly cost
- under 100 USD/mo
- Edit limit
- 3
- Traffic
- 50,000 req/s