Design Amazon Fresh Delivery Slot Reservation at Checkout

Last updated: November 29, 2026

Quick Overview

Design the system that shows grocery customers available two-hour delivery windows, lets them reserve one during checkout, and prevents overbooking given limited van and shopper capacity per window.

Amazon
System Design
Software Engineer
Amazon
November 29, 2026
Software Engineer
System Design Round
System Design
Medium

0

0

0 solved


Design the system that shows grocery customers available two-hour delivery windows, lets them reserve one during checkout, and prevents overbooking given limited van and shopper capacity per window.

Grocery delivery capacity was a famous constraint during demand spikes, so Fresh and Whole Foods teams ask this. The interviewer checks capacity modeling, reservation holds with expiry, contention on popular slots, and fairness under heavy load.

What the Interviewer Expects
  • Model capacity per fulfillment site and window (shoppers and van stops)
  • Show availability quickly with acceptable staleness
  • Reserve with a short hold that expires if checkout is abandoned
  • Handle contention on the most popular windows
  • Release and rebook capacity on cancellations
Key Topics to Cover
Reservations
Capacity Planning
Optimistic Concurrency
Holds and Expiry
Caching
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • How would you add a waiting room when demand far exceeds capacity?
  • How would you price or incentivize less popular windows?
  • What changes if one order needs two windows because it is too large for one van slot?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Functional: show next 3 days of windows for the customer's address with available, few left, or full; reserve a window for 30 to 60 minutes while the customer finishes checkout; confirm on order; rele...

High-Level Design

An Address service maps the customer to a fulfillment site and delivery zone. A Capacity service holds rows (site, window_id) with capacity, reserved, confirmed, derived nightly from labor sch...


Submit Your Answer
Markdown supported