Chapter 18
Ticket Booking
Design a ticket-booking platform like Ticketmaster — the hard part is preventing double-booking under high concurrent demand.
What You'll Learn in This Chapter:
- ✦Optimistic vs Pessimistic locking strategies
- ✦Distributed locking with Redis/ZooKeeper
- ✦Seat allocation state machine
- ✦Idempotent transaction handling