Design ticketing for concert seats
Sell every seat exactly once through a huge on-sale spike, with temporary holds and payments that can fail or go silent.
The brief
Fans open a seat map for one concert, choose up to 4 specific seats, hold them for 10 minutes, and pay. Holds can expire and payments can fail, while most of the demand arrives in the first minute. Design the first version for one concert at a time. Keep resale, dynamic pricing, and bot detection outside this exercise.
- One concert has 50,000 assigned seats, in 100 sections of 500. An order holds 1 to 4 seats and averages 2.5. Use decimal units.
- 500,000 fans are online when the sale opens. Each polls the seat map every 5 seconds and makes one hold attempt on average during the first 60 seconds.
- A hold lasts 10 minutes. Assume 80% of holds become paid orders, and the other 20% expire or fail payment and return their seats to sale.
- A charge takes about 3 seconds, and the provider can time out with no clear answer. It accepts idempotency keys. Seat and order rows average 200 bytes.
- A seat must not be sold to two buyers, and nobody should be charged without a ticket. The seat map may be a few seconds stale, but the decision to grant a hold may not.
Reading a design isn’t the same as producing one under a clock. Try it timed: the requirement change stays hidden until partway through.
Loading your draft…
State your scope. Estimate peak seat-map reads, hold attempts, and seat checks per second, how many holds can succeed, charges in flight, and storage. Keep units visible.
0 / 4,000 charactersName each component and what it is the authority for. Trace a hold, a successful payment, and a hold that expires. Say exactly what stops two buyers from holding one seat, and which isolation level or guard you rely on.
0 / 4,000 charactersA charge times out with no clear answer. Separately, a server crashes after a charge succeeds and before the seats are marked sold. Explain both outcomes, then name the bottleneck you expect during the spike and the metric that would show it.
0 / 4,000 charactersRespond to the new seating rule below. Explain whether your per-seat guard catches it, what you would change, and what the change costs at peak.
The requirement changesThe venue adds a rule: a hold must not leave a single empty seat stranded between two taken seats in the same row. Two buyers claiming different seats at the same moment could strand one together, though neither would alone. How does your design enforce this during the spike, and what does it cost?
0 / 4,000 charactersWrite an initial response in all four sections to unlock the checklist and two worked approaches.
Get critiqued, or get interviewed
SystemKit doesn’t read your answers: they stay in this browser. To get feedback from an AI, copy one of these prompts into a chatbot you already use. Treat what it says as a second opinion, and check anything that sounds too confident.