Polling storm

  • Fix
  • Wire 13

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.

Play level

HTTP/2Users50,000 req/sWebSocket g…4 vCPU · 4 GB
HTTP/2Users50,000 req/sWebSocket g…4 vCPU · 4 GB
The board at the start of the level
Connections and streamsDrag or use arrow keys to change the protocol

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

Concepts

How players did

Player results load from the server.