Design Real Time Job Alert Matching for Saved Searches
Last updated: November 29, 2026
Quick Overview
Members save job searches (keywords, location, seniority, remote) and expect alerts when new matching jobs are posted. Design a system that matches each new job against hundreds of millions of saved searches in near real time.
0
0
0 solved
Members save job searches (keywords, location, seniority, remote) and expect alerts when new matching jobs are posted. Design a system that matches each new job against hundreds of millions of saved searches in near real time.
Job alerts are one of LinkedIn's highest-volume notifications, and the reverse-search problem (matching documents against stored queries) is an advanced design topic. Interviewers check whether you see the inverted problem, can index queries instead of documents, and can balance freshness against cost.
What the Interviewer Expects
- Recognizes this as reverse search or percolation
- Indexes saved searches by their most selective terms
- Matches new jobs by generating candidate searches then verifying
- Combines real-time and batch paths for different alert frequencies
- Ranks and caps alerts per member
- Estimates throughput and storage
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 would you choose which term of a saved search to index it under?
- How do you handle saved searches with only a location and no keyword?
- How do you handle a job edited after alerts were sent?
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: members save searches with keywords, location and radius, filters (seniority, company size, remote, Easy Apply); alert frequency of instant, daily, or weekly; each job alerts each memb...
High-Level Design
- New jobs arrive on a Kafka topic after normalization and geocoding.
- Query index: saved searches stored in an inverted index keyed by their selective terms.
- Matcher workers consume jobs, ...