Design Upcoming Delivery Reminders for Subscribe and Save Orders
Last updated: November 29, 2026
Quick Overview
Design a service that emails and pushes a reminder to each Subscribe and Save customer a few days before their next scheduled delivery is charged, so they can skip or change items.
Amazon
November 29, 20260
0
0 solved
Design a service that emails and pushes a reminder to each Subscribe and Save customer a few days before their next scheduled delivery is charged, so they can skip or change items.
A scheduled-notification warm-up in the style of Amazon screens. The interviewer checks that you can design a reliable daily job over millions of subscriptions, avoid duplicate sends and respect customer preferences.
What the Interviewer Expects
- Derive the reminder date from each subscription's next order date
- Run a scheduled scan or a time-indexed queue
- Make sends idempotent so retries do not duplicate
- Respect channel preferences and unsubscribes
- Re-check that the order is still scheduled right before sending
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
- What if a customer changes the delivery date after the reminder was queued?
- How would you spread sends so you do not spike the email provider?
- How do you handle time zones?
- How would you measure whether reminders reduce cancellations?
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
Each subscription has a next order date. Customers should get a reminder 5 days before, via their preferred channel (email by default, push if enabled). Scale: tens of millions of active subscriptions...
High-Level Design
- Subscription service: stores subscriptions with
next_order_date. Add a secondary index onreminder_date = next_order_date - 5 days. - Daily scheduler: shortly after midnight in each time...