Software Design

Movie Seat Selection with Lock Timeout

Use Case Diagrams · made in Skemio

Use case diagram showing Customer and Payment Gateway interacting with seat selection, reservation timeout, and checkout use cases.
Use case diagram showing Customer and Payment Gateway interacting with seat selection, reservation timeout, and checkout use cases.

What it shows

  • Temporary TTL locks block race conditions during checkout
  • Timeouts auto-release held seats without orphaned states
  • Payment confirmation converts soft locks to hard bookings

The takeaway

Soft locks protect inventory from double-booking while preserving checkout throughput.

More use case diagrams