2 Million Users, 500 Seats, 10:00 AM — Designing a Flash-Sale Ticketing System That Never Double-Books
At 10:00:00 sharp, two million people hit the same endpoint for five hundred seats. Your database is not the answer — it's the casualty. This is a full breakdown of the admission control layer, the atomic inventory counter, the hold lifecycle, and the payment reconciliation edge cases that actually cause double bookings in production.
System DesignRedisDistributed Systems