InterviewDryRun
System design interview · Asked at mid and senior level

Design a Notification System

How the interviewer asks it

“Design a service that sends push, email and SMS notifications to users from many internal producers.”

Want the full answer? Watch lesson 6 of the free system design course: a 22-minute video walkthrough of this question.

Typed drills are free and unlimited: the AI scores your answer against the outline below.

What the interviewer is looking for

  • A single intake API with a queue per channel, so a slow email provider does not delay push.
  • Preferences, opt-outs and quiet hours checked before sending.
  • Retries with backoff, a dead-letter queue, and idempotency keys so users are not spammed twice.
  • Templates and localisation kept out of producers' code.
  • Tracking of delivery, opens and failures.

How to structure your answer

  1. 01

    Requirements

    Transactional and marketing messages, three channels, per-user preferences, at-least-once delivery without visible duplicates.

  2. 02

    Intake

    Producers call a notification API with user id, template and data; it validates, applies preferences and enqueues.

  3. 03

    Workers

    One queue and worker pool per channel, calling third-party providers with timeouts and retries.

  4. 04

    Reliability

    Idempotency key per notification, dead-letter queue after N attempts, provider failover for SMS and email.

  5. 05

    Rate limits and priority

    Separate high-priority queues for one-time codes; per-user caps on marketing.

  6. 06

    Tracking

    Store status per notification and expose it to producers and support.

Best answers from candidates

No candidate answers yet. Type yours, and if it scores 6 or more you can show it here without your name.

Answers are shared by candidates, without names, after a privacy check. Add yours

Common mistakes

  • Producers calling email and SMS providers directly.
  • One shared queue where a marketing blast delays password reset codes.
  • Retrying without idempotency.

Follow-up questions to expect

  • Send a notification to 50 million users within ten minutes.
  • A provider is down for an hour.

Now answer it out loud

Max will ask you this exact question, listen to your answer, push on the weak spots with follow-ups like the ones above, and score you when you finish.

Practice with Max

Free: a 5-minute voice round and unlimited typed drills, with scored feedback. No card, and your camera is never recorded.

More system design interview questions

Preparing for this round? Read how to practice for a system design interview.