Preparing your design workspace

Loading the problem and your latest saved attempt…

Design a High-Throughput Reminder Delivery Platform

Deliver large reminder bursts on time without early sends or duplicate user notifications.

Problem statement

For this exercise, assume users schedule reminders that may be edited or cancelled before their due instant.

The service holds ten million reminders, must absorb a burst of 200,000 reminders due in one second using ten delivery machines, must never deliver early, and must avoid duplicate user-visible sends across retries.

Design storage, due-time partitioning, paging, dispatch, delivery idempotency, retry and dead-letter handling, backpressure, cancellation races, and recovery. Exclude message composition and marketing campaign analytics.

What to build

  1. Users can create, edit, cancel, and inspect reminders with idempotent commands.
  2. The platform pages and dispatches reminders only after their due instant.
  3. Retries do not create duplicate user-visible reminder deliveries.
  4. Operators can replay retryable failures and inspect dead-lettered reminders.

At scale

  • Store ten million active reminders.
  • Handle 200,000 reminders becoming due in one second across ten delivery machines.
  • No reminder may be delivered before its due instant.
  • Sustain machine failure with bounded backlog recovery and no duplicate user-visible delivery.