Backend for frontend
Difficulty 3 of 5
1,000 phones in a stadium share a 120 Mbps cell and refresh the match screen once a second. Each screen calls four services and gets 20 KB from each. The cell is full. Bring p99 under 140 ms. Budget: 46 USD/month, at most 2 new parts.
Calls per page: 20 · 18% of pages wait 2.0 s
Goals and limits
- p99 latency
- under 140 ms
- Error rate
- under 0.1%
- Monthly cost
- under 46 USD/mo
- Parts you can add
- App backend
- Part limit
- 2
- Traffic
- 1,000 req/s
Concepts
How players did
Player results load from the server.