BookMyShow bandwidth in the first 10 minutes of a Coldplay sale
guesstimate case · difficulty 2/5 · 15 minutes · entertainment-media · India
Prompt
Estimate the server bandwidth BookMyShow needs during the first 10 minutes of a Coldplay ticket sale.
Context
A huge number of fans arrive at the same moment. Most wait in a virtual queue, and a limited number are admitted to the seat map. All inputs here are assumptions for practice, not BookMyShow data. The client cares about *order of magnitude*, not precision. A defensible range with clearly stated assumptions beats a falsely exact number.
Clarifying questions
- Queue size? Page payload?
- Assume about 1.2 million people in the queue, and a seat map response of about 100 KB.
- How many people are admitted to the seat map at a time?
- Assume about 12% of the queue is on the seat map at once, each refreshing about once every five seconds.
Solution structure
- Peak bandwidth in the first 10 minutes of the sale
- Concurrency route: users on the seat map, refresh rate, payload: 1.2M × 12% × 0.2 (once every 5 seconds) × 100 KB × 8 ≈ 23,00,00,00,000.
- Mumbai and surrounding areas: The venue city produces the largest share of buyers.
- Delhi NCR: A large fan base travelling for the event.
- Bengaluru: Strong demand from a large tech population.
- Rest of India: Spread over many cities.
- Little's law route: admission rate and time on the seat map: 900 a second × 140 s × 0.2 × 100 KB × 8 ≈ 20,20,00,00,000.
- Seat map refreshes: The bulk of the bytes.
- Login, payment and other calls: Smaller requests but more of them.
- Give every queued user the full seat map
- Concurrency route: users on the seat map, refresh rate, payload: 1.2M × 12% × 0.2 (once every 5 seconds) × 100 KB × 8 ≈ 23,00,00,00,000.
Recommendation
**about 23 Gbps at the peak.** - Main route: 1.2M × 12% × 0.2 (once every 5 seconds) × 100 KB × 8 ≈ 23,00,00,00,000 bits/s - Cross-check: Little's law route: admission rate and time on the seat map ≈ 20,20,00,00,000 bits/s The two routes agree within about 12%, so the order of magnitude is solid. The share of users on the seat map (12%) and the payload size (100 KB) move the answer most.
Risks
- Refresh rate and payload size can be optimised, changing the answer by multiples
- Retries and bots can push traffic well above the legitimate peak
Next steps
- Estimate the concurrent queue size of 1.2 million and the lighter bandwidth of the waiting page
- Consider reducing bandwidth by sending only changed seats instead of the whole map