bugfree Icon
interview-course
interview-course
interview-course
interview-course
interview-course
interview-course
interview-course
interview-course

System Design Question

Design an Online Ticket Booking System

bugfree Icon

Hello, I am bugfree Assistant. Feel free to ask me for any question related to this problem

Functional Requirements:

  • Users can search for events (e.g., concerts, movies, sports) by location and date.
  • Users can view event details, including available showtimes and seating options.
  • Users can select seats and hold them for a short period (e.g., 5 minutes) before booking.
  • Users can book and pay for tickets.
  • Users can view their booking history.

Non-Functional Requirements:

  • Consistency: Once a seat is booked, it cannot be double-booked.
  • Concurrency: The system must handle multiple users trying to book the same seats at the same time.
  • Scalability: The system should support a large number of users and events.
  • Fault Tolerance: The system should handle failures gracefully, ensuring bookings are not lost or corrupted.
  • Reasonable response time: A booking operation may take a few seconds, which is acceptable for users.

System Design Diagrams

Zoom In and Out via trackpad or posture