Design Notifications to Business Owners for New Reviews
Last updated: November 29, 2026
Quick Overview
Design the system that notifies business owners through push, email and in app inbox when they receive a new review, message or quote request, respecting their preferences and batching low priority events into digests.
Yelp
November 29, 20260
0
0 solved
Design the system that notifies business owners through push, email and in app inbox when they receive a new review, message or quote request, respecting their preferences and batching low priority events into digests.
Yelp for Business owners respond to reviews and Request a Quote leads, and speed matters because a fast reply often wins the job. This question checks an event driven fan out design with preference handling, priority, deduplication and third party provider failures.
What the Interviewer Expects
- Model events, preferences and channels separately
- Use a queue based pipeline with per channel workers
- Distinguish urgent (lead) from digestible (review) notifications
- Deduplicate and rate limit per user
- Handle provider failures with retries and fallbacks
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 a review that the recommendation software later hides?
- How would you measure that notifications actually help owners respond faster?
- How would you support quiet hours across time zones?
- An owner manages 300 locations. How does fan out change?
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: events (new review, new message, quote request, review updated) produce notifications to all users who manage the business; channels are push, email, in app; owners choose channels per eve...
High-Level Design
Producers (review service, messaging service) publish domain events to Kafka. A notification router consumes them, looks up who manages the business and their preferences, and writes one notification ...