Design Pickup Time Slot Reservations Across Thousands of Stores
Last updated: November 29, 2026
Quick Overview
Design the service that shows available one-hour pickup and delivery slots for a store and lets customers reserve one at checkout. Each slot has limited picking capacity and slots open in waves that draw heavy traffic.
Walmart Labs
November 29, 20260
0
0 solved
Design the service that shows available one-hour pickup and delivery slots for a store and lets customers reserve one at checkout. Each slot has limited picking capacity and slots open in waves that draw heavy traffic.
Slot availability is a real constraint in Walmart's grocery business: each store has a limited number of pickers and parking bays per hour. Interviewers look for correct capacity accounting under concurrency, short-lived holds that expire, and a read path that stays fast when every customer refreshes the slot grid before a holiday.
What the Interviewer Expects
- Model capacity per store, slot and fulfillment type
- Use a hold with TTL before confirmation to avoid overbooking
- Make the reserve operation atomic under concurrency
- Serve the slot grid from a cache with acceptable staleness
- Handle capacity changes when store staffing changes
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 happens when a store manager reduces capacity for a slot that is already full?
- How do you prevent bots from hoarding slots before Thanksgiving?
- How would you add dynamic pricing for busy slots?
- How do you reschedule orders when a store closes unexpectedly due to weather?
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
Show 7 days of hourly slots for a store, per fulfillment type (pickup, delivery). Reserve a slot at checkout start, hold for 15 minutes, confirm on order placement. No overbooking beyond a configured ...
High-Level Design
- Capacity Service owns
slot(store_id, date, hour, type, capacity, reserved, held). Capacity is computed from the store labor plan (pickers times orders per picker hour) and editable by store op...