Nightly scores or live ranking
Difficulty 1 of 5
A shop shows 20 picks per user on its home page. Picks use only yesterday's orders and a catalog that changes once each night. Peak is 3,000 views/s. Keep p99 below 50 ms and cost below 60 USD/mo.
Options
- Rank 500 items on CPU at each view
- Rank 500 items on a GPU at each view
- Score all users each night and store picks
Goals and limits
- p99 latency
- under 50 ms
- Error rate
- under 0.1%
- Monthly cost
- under 60 USD/mo
- Traffic
- 3,000 req/s
Concepts
How players did
Player results load from the server.