Booking inventory locker hub

Hub — booking, inventory, locker

Practice hub for BookMyShow, movie booking, inventory, Amazon locker, and library — shared claim/commit skeleton, concurrency callouts, complete-solution links.

Temporary claims

BookMyShow seats, movie showtimes, inventory units, locker bays, and library copies share one skeleton: claim something scarce (often with a TTL), then commit or release.

01FREE

available

02HELD

TTL lock

03SOLD

committed

04Expire

back to FREE

Go deep (with complete solutions)

Concurrency callouts

Order to practice

Treat this hub as a practice queue, not reading material. For booking / inventory / locker / library: timer on, phone away, talk out loud.

  1. Day 1 — Drill the shared skeleton: FREE → HELD(TTL) → COMMITTED / RELEASED on a whiteboard.
  2. Day 2 — Movie booking then BookMyShow: two concurrent bookers. BMS solution · movie solution.
  3. Day 3 — Inventory transfer across warehouses. Complete solution.
  4. Day 4 — Locker deposit + pickup + reclaim. Complete solution.
  5. Day 5 — Library: Book vs BookItem + reservation queue. Complete solution.

← Lattice