Design Saved Search Alerts for Newly Listed Items
Last updated: November 29, 2026
Quick Overview
Design the feature that lets buyers save a search (keywords, category, price range, condition) and get a push notification or email when new matching listings appear, at eBay scale.
eBay
November 29, 20260
0
0 solved
Design the feature that lets buyers save a search (keywords, category, price range, condition) and get a push notification or email when new matching listings appear, at eBay scale.
Saved searches are how collectors and resellers on eBay catch underpriced items quickly, so freshness and relevance both matter. The interviewer wants to see the reverse search problem (matching each new listing against millions of stored queries), batching, and noise control.
What the Interviewer Expects
- Recognize reverse search: index queries, stream listings
- Prefilter by category and price before keyword matching
- Batch and rate limit notifications per user
- Respect user preferences and quiet hours
- Define freshness and precision targets
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
- How do you avoid notifying about the same item twice when it is relisted or edited?
- Some saved searches are extremely broad. How do you handle them?
- How would you measure whether alerts drive purchases rather than unsubscribes?
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 and delete saved searches; get alerts for new listings that match; choose push, email or a daily digest. Non-functional: alert within a few minutes for instant mode; no duplic...
High-Level Design
Listing service emits listing_created and listing_revised events to a stream. A matcher fleet consumes them. Saved searches live in a store and are loaded into an in-memory query index par...