hard

Design a Notification System

Design a system for handling notifications across various platforms (email, SMS, push notifications, etc.). The system should manage user preferences, scheduling, retry mechanisms, and provide APIs for other services to send notifications.

Suggested time: 45 minutes

Loading the workspace...

About this problem

A notification system looks simple on the surface: something happens, a user gets a message. But underneath, it must handle multiple delivery channels (email, SMS, push, in-app), respect user preferences and quiet hours, support priority levels, render content from reusable templates, retry failed deliveries with exponential backoff, and track delivery status. At scale, thousands of notifications fire concurrently, so thread safety and rate limiting become critical. Let's break this down.

What your design needs to cover

  • Multi-Channel Delivery

  • User Notification Preferences

  • Template-Based Content

  • Priority Levels

  • Delivery Tracking and Retry

Key challenges the editorial covers

Learn from other designs

Related problems

Guides