10k ticks
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.
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.