Skip to content
Preptima
hardCase StudyDesignScenarioMidSeniorStaff

Two people book the last seat at the same moment. Neither is allowed to see a failure after paying. What happens?

Preventing double booking seats means claiming the seat before payment, not racing two payments and reconciling later. A short atomic hold serialises buyers, payment only starts for the winner, and uncertain payment outcomes are settled by reconciliation rather than silent expiry.

5 min readUpdated 2026-08-15

Answer

Short answer

Create an atomic short-lived hold on the seat, send only the holder to payment, reject everyone else at selection time, and reconcile unknown payment outcomes before releasing the hold.

Was this answer helpful?

Likely follow-ups

  • The user abandons the card form with a hold outstanding and returns eleven minutes later. What do they see, and what did the system do in between?
  • Your inventory count is served from a read replica two seconds behind. Which user-visible promise does that break first?
  • The business wants deliberate overbooking on some routes. What changes in the model, and what must not change?
  • A single booking covers four seats and only three are available. Where does that partial failure surface, and what is the user offered?

Related questions