← Questions
Design a listing watchlist with availability alerts
0
I was asked this
No reports yet. Sign in to say where you were asked it.
A system design interview question asked in Airbnb's system design round, last asked Sep 2025. It tests notifications, watchlists and event-driven.
Design a watchlist for a rental marketplace. A user adds a listing for specific dates (check-in to check-out). When a cancellation frees those dates, the user is notified. Hosts can see how many users are watching their listing.
Requirements
- Functional: add and remove watchlist entries with a date range; detect when a cancellation makes a watched range available; notify watchers; show hosts a watch count; respect notification preferences.
- Non-functional: notify quickly after a cancellation; no duplicate notifications; scale to popular listings with many watchers; consistency between reservations and alerts.
Clarifying questions
- Must the whole requested range become free, or does partial overlap count?
- Are dates inclusive or exclusive at check-out, and in which time zone?
- How quickly must watchers hear about an opening?
- If many people watch the same dates, who is told first, or everyone at once?
What a strong answer covers
- APIs and data model: users, listings, reservations, watchlist entries with date ranges, preferences.
- Dates: half-open ranges
[check_in, check_out)in the listing's local time zone, and the matching policy stated (full availability of the requested range). - Ingesting reservation changes as events from the booking system; for each cancellation, finding affected watchers with a per-listing index of watched ranges (an interval tree or day buckets) and re-checking full availability against the calendar.
- The notification pipeline: deduplication, rate limits per user, retries, idempotency keys.
- Storage and sharding by listing; caching watch counts for hosts.
- Races: a new booking taking the dates right after a cancellation, so notifications say "may be available" or check again at send time.
- Privacy and abuse: hosts see counts only; limits on how many listings one user can watch.
Follow-ups
- A popular listing has 50,000 watchers for one weekend. What happens on cancellation?
- Add price-drop alerts.
- How would you measure whether the alerts lead to bookings?
Where it's asked
- Airbnb · System design · Last asked Sep 202560 min · Design discussion
What it tests
notifications · watchlists · event-driven
No official answer yet. Draw yours on the right; publish it and it shows under Community.
Nothing published yet. Publish your canvas and it shows here for others to open and remix.
Draw your answer hereBoxes, arrows and notes, saved for you to come back to.Sign in to start drawing
