All practice problems Bug of the Day: a new problem every midnight, free for everyone. Keep a streak with your friends.
Backend Engineering · System design · Warm-up
System design practice: Opening Hour
The sale banner goes live at 7:30. People are already waiting. Traffic will build to about 3,500 requests a second. Two servers won't cut it. Add enough…
The problem
- Traffic will build to about 3,500 requests a second. Two servers won't cut it. Add enough to stay up — without blowing the budget.
- Peak ≈ 3,500 req/s around 8:05 PM
- Mostly browsing, some checkouts
You'll use: System design · Caching · CDN · Queues & workers · Database replicas · Rate limiting
Solve it free in your browser2–3 min · No coding needed
Show a hint
One app server handles about 1,000 req/s. Peak is ~3,500, so you need a little more than that.
What this teaches (spoiler)
Horizontal scaling: when one server can't keep up, add more behind a load balancer. Size for the peak, plus a little headroom.