Advanced Walkthrough: Ticket Booking (Ticketmaster)
System Design · Advanced Walkthroughs · Master · 30 min
Design ticket sales for a stadium on-sale where millions chase thousands of seats: seat holds with a timeout, optimistic vs pessimistic locking, conditional writes that make double booking impossible, and a virtual waiting room, then code the hold-and-book rules.
This lesson is part of TuringPath Pro. See plans.
What you will learn
- 1. Requirements and numbers
- 2. API and data model
- 3. High-level design
- 4. Deep dive: locking and the conditional hold
- 5. Deep dive: expiry, confirmation and the waiting room
- 6. Trade-offs and failure modes
More in Advanced Walkthroughs
- Advanced Walkthrough: A Dynamo-style Key-Value Store
- Advanced Walkthrough: A Payment System
- Advanced Walkthrough: A Collaborative Editor (Google Docs)
- Advanced Walkthrough: A Web Crawler
Previous: Advanced Walkthrough: A Web Crawler