🔒 Paid
Ticket Booking: Double-Booking Under Lock Contention
Seat purchases double-book under contention, and shortening the lock timeout alone just lets retries race a still-legitimate purchase instead of fixing it.
- Difficulty
- Senior Staff
- Expected Time
- ~16 min
- Category
- Distributed Systems
Skills
- Diagnosing double-booking caused by a race between lock expiry and a retry
- Reasoning about lock timeout and retry backoff as independent, paired levers
- Recognizing when a more aggressive-looking setting makes the real failure mode worse
- Sizing lock recovery speed against the time a legitimate operation actually needs
System Architecture
- Booking API
- Seat Lock Service
- Inventory Store
This is a Pro scenario. Upgrade to Pro (from $9.99/mo) to unlock it.
Upgrade to ProBack to Incidents