Design the Inbox Notification Pipeline for Task Activity
Last updated: November 29, 2026
Quick Overview
Design the system that turns task activity (assignments, comments, mentions, due date changes) into Inbox notifications, emails and mobile pushes, respecting each user's preferences and avoiding notification spam.
Asana
November 29, 20260
0
0 solved
Design the system that turns task activity (assignments, comments, mentions, due date changes) into Inbox notifications, emails and mobile pushes, respecting each user's preferences and avoiding notification spam.
Asana's Inbox is where people learn what changed on work they follow, and the product cares a lot about signal over noise. The interviewer checks event-driven design, fan-out to followers, batching and digesting, and per-channel delivery with preferences.
What the Interviewer Expects
- Models activity as events and computes recipients from followers and mentions
- Separates in-app Inbox storage from external channels (email, push)
- Batches and collapses bursts of edits into one notification
- Respects preferences, quiet hours and do-not-disturb
- Makes delivery idempotent and observable
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 do you avoid notifying someone about their own action?
- How would you collapse 20 edits to one task in 5 minutes into one item?
- How do you handle a task with 5,000 followers?
- How would you measure whether notifications are useful?
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: every relevant event creates an Inbox item for each recipient; some also send email or push per user preference; users can archive and mark read. Non-functional: Inbox within seconds, emai...
High-Level Design
The task service emits activity events to a durable log. A recipient resolver reads each event, expands followers, assignees and mentioned users, drops the actor, and applies access checks. It writes ...