Lesson 14 of 15
43. Design Flash-Sale Ticket Booking (Ticketmaster / IRCTC Tatkal)

Sources

3 min read+10 XP

Source notes

  • Ticketmaster on the Taylor Swift Eras Tour presale (November 2022): "3.5 billion total system requests, 4x our previous peak", with bot attacks among the causes; Verified Fan pre-registration. Ticketmaster statement as reported by news outlets, November 2022. Checked 2026-10-08.
  • IRCTC Tatkal booking opens one day before the journey: 10:00 for AC classes and 11:00 for non-AC classes. IRCTC rules as summarised by travel and banking sites. Checked 2026-10-08.
  • Seat holds and conditional updates: see Chapter 17. Payments: Chapter 42. Rate limits and bots: Chapter 25.
  • Crowd size, seat counts, admit rates and bot counts are interview assumptions agreed in Step 1, not figures for any real sale. Arithmetic computed 2026-10-08.
  • Waiting time and admission arithmetic, seat holds with expiry, and bots' share under first-come, per-account limits and a randomised opening window: tested 2026-10-08 (code/ch43_flash_sale.py, all checks pass).