Back to All 30 System Design Questions
LLDMediumQuestion 24 of 30
Design a Movie Theater Seat Booking Engine with Expirable Locks (BookMyShow)
Design a high-concurrency movie theater seat reservation engine capable of handling simultaneous booking attempts for the same seats, managing 10-minute temporary holds, and processing payments.
Asked by:BookMyShowTicketmasterSwiggyFlipkart
#Low Level Design#Concurrency#Seat Selection#Locks#State Pattern
Object-Oriented Class Hierarchy
Compiling architecture diagram...
Movie Seat Booking Engine
Enforces all-or-nothing multi-seat reservations, prevents circular deadlocks during concurrent multi-seat booking clashes by ordering seat IDs lexicographically before lock acquisition, and manages 10-minute holds via timestamp TTL evaluation.