Skip to content

ONE QUESTION. YOUR REASONING.

Design a hotel booking system

Design the reservation system for a hotel chain with 5,000 hotels: guests see rooms and prices, then book and pay.

System designShopping, tickets and bookingMid-levelSenior

YOUR BRIEF

What to work through

Work through a hotel booking system as a spoken system design interview. Start by clarifying the scope, sketch a working design and explain the trade-offs behind your choices.

  • Show a hotel and its room types with the day’s price
  • Reserve rooms of a type for a date range, paying in full
  • Cancel a reservation
  • Let staff manage hotels, rooms and inventory

BEFORE YOU START

Constraints to discuss

  • No overbooking beyond the 10% the business allows
  • High concurrency in peak season
  • A few seconds to confirm a reservation is acceptable
  • About 3 reservations a second on average
Need a starting point?

Watch for these common gaps as you prepare:

  • Checking availability and then writing without a lock, version or constraint
  • No idempotency key, so a double click books twice
  • Splitting reservation and inventory into separate databases without a plan for consistency
  • Trusting the cache to decide availability
Read: System design questions and who asks them

Why this question is in the collection

These sources connect the problem to company interview reports or preparation guides. They do not guarantee what a company will ask you.

KEEP GOING

Your next question

Storage, files and linksDesign BitlyInfrastructure and platformDesign a rate limiterInfrastructure and platformDesign an A/B testing platformInfrastructure and platformDesign an ad click aggregator
Browse the collection
01

Pick a question

Read the brief and choose what you want to work on.

02

Talk it through

Explain your thinking. Respond to follow-ups. Draw when a design needs it.

03

Find your next improvement

Use the feedback from your interview to decide what to practise next.