One-way news
Difficulty 2 of 5
20,000 browsers watch a status feed. Each browser gets a new text update about every 10 s, and it must arrive within 1 s. Browsers never send messages on this channel. Choose the simplest transport that meets the need. Keep p99 below 150 ms.
Options
- A two-way WebSocket channel
- HTTP/2 polling every second
- A server-sent event stream
Goals and limits
- p99 latency
- under 150 ms
- Monthly cost
- under 100 USD/mo
- Traffic
- 20,000 req/s
Concepts
How players did
Player results load from the server.