Design a Hotel Room Reservation Service

System Design · Square · Medium

Design a reservation system for a single hotel that offers only one kind of room. A guest looks up which rooms are free across a chosen range of dates, then holds a room and completes the booking. Your design should describe the data model and the API surface, explain how the system guarantees that the same room is never booked twice for date ranges that overlap, and discuss how the solution would scale.

Loading the rest of the question…