Design ML-Driven Notification Volume and Send-Time Optimization
Last updated: November 29, 2026
Quick Overview
Design a system that decides which push notifications to send each Facebook user, how many per day, and when, so that notifications drive value without causing users to disable them.
Meta
November 29, 20260
0
0 solved
Design a system that decides which push notifications to send each Facebook user, how many per day, and when, so that notifications drive value without causing users to disable them.
Notifications are a powerful but fragile Meta growth channel; over-sending leads to permanent opt-outs. Interviewers look for a model that weighs incremental value against long-term cost, causal thinking about attribution, and a practical delivery architecture.
What the Interviewer Expects
- Frame the decision as incremental value of sending versus not sending
- Include long-term cost terms such as disable probability
- Use a candidate queue with per-user budgets and send-time models
- Measure with holdout groups for causal effect
- Handle real-time notifications that cannot wait
Key Topics to Cover
How to Approach This
- Start by mapping the business objective to a concrete ML objective and metric.
- Cover the full pipeline: data collection, feature engineering, model selection, training, serving.
- Discuss online vs offline evaluation. Plan an A/B test to validate real-world impact.
- Address the serving latency budget and whether batch or real-time inference is needed.
- Think about the data flywheel: how user feedback improves the model over time.
Possible Follow-up Questions
- How would you estimate the incremental effect of a single notification?
- Which notifications should bypass the model entirely?
- How do you choose the daily cap per user?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice ML System Design ProblemsSample Answer
Requirements
Decision: for each candidate notification (friend posted, comment on your post, memory, group activity) decide send now, delay, batch into a digest, or drop. Goal: maximize long-term engagemen...
High-Level Design
- Candidate generators emit events into a per-user notification queue with metadata and expiry.
- Scoring service predicts for each candidate: , $P(\text{session value} ...