# Design a Ticket Booking Site Like Ticketmaster

DevFeed: [Design a Ticket Booking Site Like Ticketmaster](<https://devfeed.tech/articles/design-a-ticket-booking-site-like-ticketmaster-32311.md>)

Original publisher: [Read original article](<https://evanking1.medium.com/design-a-ticket-booking-site-like-ticketmaster-d08b0f1bbb14?source=rss-9736778727ef------2>)

Author: Evan King

Published: 2024-11-27T05:34:17Z

Content type: tutorial

Language: en

Sources: [Evan King](<https://devfeed.tech/sources/evan-king.md>)

Topics: [scalable-architecture](<https://devfeed.tech/topics/scalable-architecture.md>), [Specifications](<https://devfeed.tech/topics/specifications.md>), [Latency](<https://devfeed.tech/topics/latency.md>), [Transactions](<https://devfeed.tech/topics/transactions.md>), [Service fabric](<https://devfeed.tech/topics/service-fabric.md>)

Tags: [availability](<https://devfeed.tech/tags/availability.md>), [booking](<https://devfeed.tech/tags/booking.md>), [ci-cd](<https://devfeed.tech/tags/ci-cd.md>), [consistency](<https://devfeed.tech/tags/consistency.md>), [data](<https://devfeed.tech/tags/data.md>), [deploy](<https://devfeed.tech/tags/deploy.md>), [design](<https://devfeed.tech/tags/design.md>), [designing](<https://devfeed.tech/tags/designing.md>), [entertainment](<https://devfeed.tech/tags/entertainment.md>), [event](<https://devfeed.tech/tags/event.md>), [events](<https://devfeed.tech/tags/events.md>), [functional](<https://devfeed.tech/tags/functional.md>), [gdpr](<https://devfeed.tech/tags/gdpr.md>), [handle](<https://devfeed.tech/tags/handle.md>), [latency](<https://devfeed.tech/tags/latency.md>), [low-latency](<https://devfeed.tech/tags/low-latency.md>), [plan](<https://devfeed.tech/tags/plan.md>), [planning](<https://devfeed.tech/tags/planning.md>), [popular](<https://devfeed.tech/tags/popular.md>), [ticket](<https://devfeed.tech/tags/ticket.md>)

## AI overview

The design starts with three core functions: view events, search events, and book tickets. It prioritizes availability for event browsing and consistency to prevent double booking, with targets of under 500 ms for search and 100:1 read-heavy traffic; it also cites a peak case of 10 million users for one event. Core entities are Event, User, Performer, Venue, Ticket, and Booking. Initial APIs retrieve event details and seat availability, search with filters and pagination, and submit ticket IDs and payment details to create a booking. The initial architecture routes client requests through an API Gateway to an Event Service or Search Service backed by an Events DB. Booking is later expected to evolve into separate ticket reservation and purchase confirmation endpoints. The supplied text is an excerpt and does not include the later design deep dives.

## Source excerpt

With Ex-Meta Staff Engineer & co-founder of hellointerview.comUnderstanding the Problem🎟 What is Ticketmaster? Ticketmaster is an online platform that allows users to purchase tickets for concerts, sports events, theater, and other live entertainment.Functional Requirements Core Requirements Users should be able to view events Users should be able to search for events Users should be able to book tickets to events Below the line (out of scope): Users should be able to view their booked events Admins or event coordinators should be able to add events Popular events should have dynamic pricing Non-Functional Requirements Core Requirements The system should prioritize availability for searching & viewing events, but should prioritize consistency for booking events (no double booking) The system should be scalable and able to handle high throughput in the form of popular events (10 million users, one event) The system should have low latency search (< 500ms) The system is read heavy, and thus needs to be able to support high read throughput (100:1) Below the line (out of scope): The system should protect user data and adhere to GDPR The system should be fault tolerant The system should provide secure transactions for purchases The system should be well tested and easy to deploy (CI/CD pipelines) The system should have regular backups Here is how the requirements might look on the whiteboard: Adding features that are out of scope is a "nice to have". It shows product thinking and gives your interviewer a chance to help you reprioritize based on what they want to see in the interview. That said, it's very much a nice to have. If additional features are not coming to you quickly, don't waste your time and move on.Planning the Approach Before you move on to designing the system, it's important to start by taking a moment to plan your strategy. Fortunately, for these common user-facing product-style questions, the plan should be straightforward: build your design up sequent