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
ML System Design
Machine Learning Engineer
Meta
November 29, 2026
Machine Learning Engineer
Onsite
ML System Design
Medium

0

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
Uplift modeling
Notification ranking
Send-time optimization
Holdouts
Long-term value
How to Approach This
  1. Start by mapping the business objective to a concrete ML objective and metric.
  2. Cover the full pipeline: data collection, feature engineering, model selection, training, serving.
  3. Discuss online vs offline evaluation. Plan an A/B test to validate real-world impact.
  4. Address the serving latency budget and whether batch or real-time inference is needed.
  5. 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 Problems
Sample 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
  1. Candidate generators emit events into a per-user notification queue with metadata and expiry.
  2. Scoring service predicts for each candidate: P(open)P(\text{open}), $P(\text{session value} ...

Submit Your Answer
Markdown supported