Design Price Drop Alerts for Ichiba Favorite Items
Last updated: November 29, 2026
Quick Overview
Design a service that notifies Rakuten users by push or email when an item in their favorites list drops in price or comes back in stock, without spamming them.
Rakuten
November 29, 20260
0
0 solved
Design a service that notifies Rakuten users by push or email when an item in their favorites list drops in price or comes back in stock, without spamming them.
Favorites are a core Ichiba habit, and campaign periods trigger huge numbers of price changes at once. This screen level design checks event-driven thinking, an inverted mapping from item to watchers, and notification throttling.
What the Interviewer Expects
- Consume price and stock change events instead of polling
- Maintain an item to watchers index
- Apply thresholds and per-user rate limits
- Batch notifications into digests during campaigns
- Respect user notification preferences
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 popular item is favorited by 2 million users. How do you fan out?
- How do you avoid alerting on a price that drops and rises again within minutes?
- How would you measure whether alerts drive purchases?
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
Users favorite items. Alert when the price drops by at least a threshold (say 5 percent or the user's chosen target) or when an out-of-stock item returns. Channels: app push, email, LINE where linked....
High-Level Design
The catalog emits PriceChanged and StockChanged events to Kafka. An Alert Evaluator consumes them, looks up watchers of the item in a Favorites Index (item id to list of user id plus target price)...