Design the search-and-book half of a stay booking service: find listings in a city for a set of dates, then book one. Pricing, reviews and messaging are out of scope.
Requirements
- Search listings by city and date range
- Show only listings actually free for those dates
- Book a listing, and never let two people book the same dates
- A confirmed booking is never lost
Scale
- Listings
- 10M
- Searches
- 100M per day
- Bookings
- 1M per day
- Read:write ratio
- about 100:1
Draw the design on the board, fill in Your answer, then submit.