Practice
Learn
← Quit
0 / 0 correct
System Design
Hard
1 of 40
Ticket booking (concert seats): how do you prevent double-booking under heavy contention?
A
Check availability, then insert the booking without constraints
B
Let everyone book and refund duplicates
C
Hold seats with a short-lived reservation (e.g. 10 min) via a conditional update or unique constraint, then confirm on payment
D
Lock the whole table for every booking