Problems / Design a product, hard

Build Ticketmaster’s ticket drop

Design a Ticketmaster on-sale from an empty canvas: an event page, ticket holds and checkout that survive the second the sale opens, with scalper bots kept out.

Unlock it once for 25 credits; everything inside it is free (runs, changes, Submit, results, hints). Sign in with Google to start; new accounts get free credits.

What it must do

Scale

Request types to route: event (70%, read), hold (27%, write), buy (3%, write). Budget: $68,000 a month.

Estimate first

The test cases

You start from an empty canvas. When you run the tests, each one simulates your design with its own traffic and failures:

TestWhat it doesPasses when
Normal dayThe normal day: the traffic in the brief, nothing broken.Success ≥ 99%; p99 latency ≤ 300 ms (event); p99 latency ≤ 800 ms (hold); p99 latency ≤ 3.0 s (buy)
Tickets go on sale: 8× trafficAt 5 s the sale opens: traffic jumps to 8× normal for 8 s, almost all of it fans trying to hold tickets at once.Success ≥ 99% (event); Success ≥ 99% (buy); Success ≥ 30% (hold); p99 latency ≤ 900 ms (hold)
Bot swarmAt 5 s 5,000 requests a second of bots traffic arrive for 10 s, alongside real users.Attack blocked ≥ 90%; Success ≥ 98% (hold); Success ≥ 98% (buy)
A server diesAt 4 s one server of the first app service on the request path dies for 10 s.Success ≥ 99%
Budget: $68,000/monthThe normal day's design must cost at most $68,000 a month.Cost ≤ $68,000/month

Must include

More design a product problems