Design Ticketmaster
hard 55 minSell numbered seats to far more people than there are seats.
What each level should show
The same question is judged differently for mid, senior and staff.
Mid
Must show
- Browse, hold, buy, end to end
- A hold with an end time
- A statement that prevents overselling
- Caches for event pages
Will be probed on
- Two clicks at once
- Expired holds
Stands out
Checks the number of changed rows.
Senior
Must show
- Splits crowd from contention with numbers
- A waiting room and how it admits
- Authorise, sell, capture with retries
- Map as a hint
Will be probed on
- Provider timeout
- Redis failover
- Deadlocks on pairs
Stands out
Removes a component after counting what is left.
Staff
Must show
- Fairness and abuse as requirements
- Runs the sale: warm, watch, stop, resume
- Regions, shards and cost
- Reconciliation as a design part
Will be probed on
- Home regions
- Law and refunds
- What to rehearse
Stands out
Plans a rehearsal sale and a pause that keeps places.
"How do you prevent double booking?"
| Level | A good answer sounds like |
|---|---|
| Mid | "Update the seat only where it is available, in a transaction. If no row changed, it is gone." |
| Senior | "That, with an end time for holds, a paying state, ordered locks for pairs, and a unique rule on tickets." |
| Staff | "And the proof that load there is small, plus a daily comparison that would find a mistake before the doors open." |