10k ticks

  • Build
  • Pixel 16

Difficulty 4 of 5

An exchange sends 10,000 price ticks/s for 100 symbols. 2,000 browsers show all of them and redraw 4 times a second. The socket gateway sends each tick to each browser, and the browser links (1 Mbps each) choke. Keep p99 price age under 250 ms and errors under 0.1 percent.

Play level

HTTP/2WebRTCPartner apps10,000 req/sAPI server4 vCPU · 4 GBWebSocket g…16 vCPU · 32 GBLive browse…
HTTP/2HTTP/2WebRTCPartner ap…10,000 req/sAPI server4 vCPU · 4 GBWebSocket…Live brows…
The board at the start of the level
A buffer with a valveDrag or use arrow keys to change the buffer size

Buffer 1,000 jobs · last job waits 1.0 s · 17% turned away

Goals and limits

p99 latency
under 250 ms
Error rate
under 0.1%
Monthly cost
under 200 USD/mo
Parts you can add
WebSocket gateway, API server, Message broker, Redis cache
Part limit
2
Traffic
10,000 req/s

Concepts

How players did

Player results load from the server.