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

43.10 What would you say in the last five minutes?

3 min read+10 XP

Step 6: Wrap-up (5 minutes)

  • Bottlenecks: seat inventory rows (sections, conditional updates, admit rate) and payment provider throughput (admit rate tuned to it, second provider).
  • Single points of failure: the waiting room (replicated store, or managed service; if it fails, pause admissions rather than open the floodgates).
  • Correctness: conditional holds, expiring holds, idempotent payments, tickets issued only for paid holds.
  • Fairness and abuse: verified accounts, per-account limits, edge bot defences, randomised opening, signed tokens.
  • Rehearsal: load-test the burst and the "everyone refreshes at 9:59" pattern; pre-scale (Chapter 41).
  • Next with more time: dynamic pricing, resale marketplace with price caps, accessibility seating, and group bookings that keep friends together.

Memory code: "Meter the crowd, hold seats briefly, shuffle the rush, and stop the bots at the door."