[Top System Design Case Study Pulse #38] How Facebook's Notification Engine Decides When to Wake Up Your Phone — How Push Notifications Actually Works : Deep Dive from System Design Perspective
A Deep Dive into Meta’s ML-Powered Push Notification Ranking, Timing Optimization, and Engagement-vs-Wellbeing Tradeoff System Using the ML System Design Framework..
In this post we will take a deep dive into Meta’s ML-Powered Push Notification Ranking, Timing Optimization, and Engagement-vs-Wellbeing Tradeoff System Using the ML System Design Framework , we will cover —-
Table of Contents
Clarifying Requirements
Frame the Problem as an ML Task
High-Level Architecture
Detailed Components Design
Data Preparation
Model Development
Evaluation
Serving
Trade-off Discussion
Failure Scenario Discussion
First let me share the stats - 420000 views and reads in past 65 days! Our readers love How to System Design Series and on their demand we are giving mega discount for everyone. Yayyy!
You can also gift subscription to your friend if they are in need or would like to read how to system design or preparing for interviews!
We will covering more than 75+ top and most asked system design case studies in depth — not just to prepare for system design rounds but also to understand how large systems work.
To Celebrate From Our side : Straight 80% off Discount Code for all the System Design Posts and Code : Link
Straight 80% off Discount Code for all the AI inference, AI optimizations and Evals Posts and Code : Link
Top System Design Viral Playlist : Link
Top ML System Design Viral Playlist : Link
Read and Access all the Top and Most Asked System Design Case Study Posts :
The Day Facebook Deleted Itself: Inside the 6-Hour BGP Catastrophe of October 4, 2021
How One Bad Regex Rule Took Cloudflare System Down for 27 Minutes — and Broke Half the Web
How One Mistyped Command Took Down 150,000+ Systems for 4 Hours
How a GitLab Engineer Deleted 300GB of Production Data in 2 Seconds
Trillions of Edges: How Facebook Builds Your News Feed in Milliseconds — How It Actually Works
Millions of Swipes and Matches: How Tinder’s Real-Time Hidden Matchmaking Actually Works
Where Does Your Voice Go When You Say Hey Siri - How It Actually Works
Is Your Phone Listening? How Meta Targets Ads in Real Time — How It Actually Works
Massive Billions of Personalized Recommendations in Real-Time: How Instagram Scaling Actually Works
100+ Million Requests per Minute: Amazon Shopping Cart System — How It Actually Works
Trillions of Edges: How Facebook’s EdgeRank Computes Friendships Instantly — How It Actually Works
Millions of Listings: How Airbnb’s Semantic Search Understands What You Want — How It Actually Works
Trillions of Queries: How Google’s Search & PageRank Scales Exponentially — How It Actually Works
Start System Design ( With all the case Studies) : Start here
What Facebook’s Notification System Actually Does
Every push notification from Facebook — “Sarah commented on your photo,” “You have 3 new friend suggestions,” “It’s been a while since you posted” — is the output of a sophisticated multi-stage ML pipeline that evaluates hundreds of features to decide:
Below is the sophisticated pipeline it uses and how it actually works—


