Select seats
Loading…
SCREEN
AvailableSelectedOccupied
Concurrency demo
Unsafe uses read → delay → write without row locks (can create duplicate bookings for one seat). Safe uses a transaction with SELECT … FOR UPDATE.
Loading…
SCREEN
Concurrency demo
Unsafe uses read → delay → write without row locks (can create duplicate bookings for one seat). Safe uses a transaction with SELECT … FOR UPDATE.