Heavy images
Difficulty 2 of 5
Shoppers on 20 Mbps phones open product photos, 20 views/s. Each photo is a 2.4 MB original from the bucket, but a phone screen needs about 150 KB. p99 is 1.1 s and the bill is 7,486 USD/mo. Get p99 under 400 ms within 120 USD/mo. At most 2 new parts.
100 images/s · 1,600 of 1,000 Mbps · it does not fit
Goals and limits
- p99 latency
- under 400 ms
- Error rate
- under 0.1%
- Monthly cost
- under 120 USD/mo
- Parts you can add
- CDN, Node API, Redis cache
- Part limit
- 2
- Traffic
- 20 req/s
Concepts
How players did
Player results load from the server.