Design the Delivery Promise Date Shown on Product Pages
Last updated: November 29, 2026
Quick Overview
Design the service that computes the 'Arrives by Thursday' promise shown on product pages and in the cart, taking into account inventory location, fulfillment capacity, carrier schedules, and the customer's address.
Amazon
November 29, 20260
0
0 solved
Design the service that computes the 'Arrives by Thursday' promise shown on product pages and in the cart, taking into account inventory location, fulfillment capacity, carrier schedules, and the customer's address.
The delivery promise is one of Amazon's most visible commitments, read on nearly every page view and recomputed at checkout. Interviewers check whether you split it into a fast approximate path for browsing and an exact path for checkout, and whether you can precompute heavily.
What the Interviewer Expects
- Low-latency estimate on page view at massive read volume
- Exact promise at checkout using live inventory
- Combine inventory, node capacity, cut-off times, and transit
- Handle cut-off time changes as the clock ticks
- Monitor promise accuracy against actual deliveries
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
- How do you handle a product stocked in 30 fulfillment centers?
- What happens when a fulfillment center hits capacity during peak?
- How do you show a countdown like 'order within 3 hrs 12 mins'?
- How would you measure and improve promise accuracy?
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
Functional: for a product, quantity, and destination (zip code), return the earliest delivery date and an order-by deadline; at checkout, return a promise that the system will commit to. **Non-fun...
High-Level Design
- Inventory Snapshot: available units per
(product, fulfillment_node), updated from the inventory system stream. - Transit Matrix: precomputed `(node, destination_zip_prefix, ship_method) ->...