Design an Event Booking and Analytics Platform
Design a concert and movie booking platform whose operational activity feeds a governed cloud data warehouse for timely SQL and dashboard analysis.
Problem statement
For this exercise, assume one marketplace lists scheduled concerts and movie screenings with assigned seats. A customer searches by title, event type, venue area, and date, places a five-minute hold on available seats, and confirms one booking after an external payment authorization.
Search results may be slightly stale, but the authoritative booking path must never confirm the same seat for overlapping customers. Client and payment retries must converge on one visible booking outcome.
The marketplace must also publish catalog, search, hold, booking, and payment-outcome data into a governed analytical platform. Authorized business analysts query conformed concert and movie data through SQL or approved BI dashboards, with freshness and dataset-version metadata.
The warehouse is not an authority for seat availability or booking decisions. Choose AWS, GCP, or Azure for the warehouse portion, map logical responsibilities to concrete managed services, and explain how users submit queries and receive bounded results.
Recommendations, dynamic pricing, refunds, ticket transfers, venue access control, and venue operations are outside scope.
Protect payment and customer identifiers in analytical data, expose late or incomplete data rather than silently claiming freshness, and keep the operational and analytical correctness boundaries explicit.
What to build
- Customers can search upcoming concerts and movie screenings by title, type, venue area, and date, then inspect approximate seat availability.
- Customers can idempotently hold assigned seats for five minutes, confirm one booking after payment authorization, and retrieve a durable success, conflict, expired, pending, or failed outcome.
- The platform publishes replayable catalog, search, hold, booking, and payment-outcome records into conformed concert and movie warehouse models with lineage and quality status.
- Authorized analysts can use SQL or approved BI dashboards to query booking funnels, occupancy, and revenue by event, venue, geography, and time while seeing dataset freshness and version information.
At scale
- For this exercise, assume the marketplace stores 2 million future performances and screenings with 100 million sellable seats, and peak on-sale traffic reaches 30,000 searches and 3,000 hold or confirmation attempts per second.
- For this exercise, target 300 ms p95 search responses and 1 second p95 authoritative hold or confirmation responses in healthy conditions; reject or return pending when booking authority cannot safely decide.
- For this exercise, ingest peaks of 20,000 analytical events per second and make 99% of accepted events queryable within 15 minutes, while supporting deterministic replay and late corrections without double counting.
- For this exercise, return common governed dashboard queries within 3 seconds at p95, retain immutable raw events for 90 days, and retain curated booking facts for 7 years.