Software Design

Flight Seat Reservation and Hold Flow

State Diagrams · made in Skemio

State diagram of flight seat reservation: Initial to Available, Held on timeout to Available, or to Paying, Confirmed, Ticketed, and Final.
State diagram of flight seat reservation: Initial to Available, Held on timeout to Available, or to Paying, Confirmed, Ticketed, and Final.

What it shows

  • Temporary holds prevent race conditions during checkout.
  • TTL expiration releases abandoned seats automatically.
  • Payment success is decoupled from ticketing emission.

The takeaway

Time-to-live expiration guarantees inventory recovers quickly from abandoned booking checkouts.

More state diagrams