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
System Design
Software Engineer
Asana
November 29, 2026
Software Engineer
System Design Round
System Design
Medium

0

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
event-driven architecture
fan-out
batching and digests
user preferences
delivery guarantees
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. 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 Problems
Sample 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 ...


Submit Your Answer
Markdown supported

Related Questions