Design Notification Batching and Weekly Digest Emails
Last updated: November 29, 2026
Quick Overview
LinkedIn sends members notifications about connection requests, post reactions, job alerts, and birthdays. Design a system that decides which events to send immediately, which to batch, and which to roll into a digest email, while respecting member preferences and frequency caps.
0
0
0 solved
LinkedIn sends members notifications about connection requests, post reactions, job alerts, and birthdays. Design a system that decides which events to send immediately, which to batch, and which to roll into a digest email, while respecting member preferences and frequency caps.
LinkedIn has publicly discussed reducing notification volume because too many notifications drive members to disable them. Interviewers look for a pipeline that scores and aggregates events, enforces caps per channel, and keeps sends deduplicated.
What the Interviewer Expects
- Separates event ingestion, decisioning, aggregation, and delivery
- Applies member preferences and channel caps
- Aggregates similar events such as many reactions on one post
- Schedules digests by member time zone
- Ensures idempotent delivery across retries
- Measures notification quality with feedback signals
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 would you decide whether a reaction notification is worth a push?
- How do you avoid sending an email about something the member already saw in the app?
- How do you scale digest generation for hundreds of millions of members on Monday morning?
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: ingest events from many producers; for each member decide channel (push, in-app, email) and timing (now, batched within an hour, weekly digest); combine similar events ("Ana and 23 oth...
High-Level Design
- Producers publish events to Kafka with a type and target member.
- Decision service scores each event using rules plus a relevance model, consults preferences and caps, and assigns: immediate,...