Software architecture interview · Software Engineer
Hotel booking / reservation system
- Level
- Senior
- Length
- About 55 minutes
- Format
- A diagram canvas you draw on as you talk
- Inventory modeling
- Concurrency control
- Idempotency
- Transactions
The problem
Let's design the reservation backend for a hotel chain, something at Marriott scale: about five thousand hotels and roughly a million rooms in total. Guests open a hotel page, see the room types and nightly prices, and book a stay for a date range; they can also cancel later.
The rest of the problem, the interviewer's follow-ups and your report come with the practice interview.
How the interview runs
- Introductions and framing5 min
- Requirements clarification and scoping7 min
- Estimation, core entities and API6 min
- High-level design12 min
- Deep dives15 min
- Wrap-up5 min
- Their questions5 min
Our library of software architecture problems
Hotel booking / reservation system · This problemSenior
URL shortener (Bitly-like)Mid-level
Distributed API rate limiterMid-level
Event ticketing under flash-sale load (Ticketmaster-like)Senior