Design Instant Alerts for Saved Home Searches
Last updated: November 29, 2026
Quick Overview
Millions of users save searches (area, price range, beds, filters) and want a push or email within minutes when a new listing or price drop matches. Design the matching and notification system.
Zillow
November 29, 20260
0
0 solved
Millions of users save searches (area, price range, beds, filters) and want a push or email within minutes when a new listing or price drop matches. Design the matching and notification system.
Saved searches and new-listing alerts drive a large share of return visits to Zillow, and in hot markets being first to see a listing matters. The interviewer wants you to invert the problem (match each listing against searches, not each search against listings), index searches geographically, and handle dedup and rate limits.
What the Interviewer Expects
- Recognize reverse matching: a listing event is the query and saved searches are the documents
- Index saved searches by geographic cell plus coarse filters
- Consume listing events from a stream with idempotent processing
- Deduplicate per user and listing and respect frequency preferences
- Estimate event rate, search count and notification volume
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- A user's saved search is a hand-drawn polygon. How does it fit the index?
- A large metro gets 5,000 new listings in an hour after an MLS backlog clears. What happens?
- How would you let users choose instant versus daily digest?
- How do you measure whether alerts are too noisy?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
Functional: create, edit, delete saved searches; on a new listing, price drop, or back-on-market event, notify every matching search owner by push, email, or both; instant or daily digest. Non-functio...
High-Level Design
MLS ingestion publishes normalized listing_changed events to Kafka, keyed by listing id. A matcher service consumes them and looks up candidate saved searches from a search index. Matches go to a no...