Design Walmart Pickup and Delivery

Quick Overview

Design the architecture for Walmart Pickup and Delivery. Cover scalability, storage, caching, and real-time requirements.

Walmart
System Design
Software Engineer
Walmart
Software Engineer
Technical Screen
System Design
Hard

13


Design the architecture for Walmart Pickup and Delivery. Cover scalability, storage, caching, and real-time requirements.

Walmart Pickup and Delivery ties the online catalog to live store inventory, time-slot booking, in-store picking and drivers, so it is a strong test of end-to-end system design. The interviewer looks for clear service boundaries, a plan for real-time inventory and order tracking, and sensible scaling for peak grocery demand.

What the Interviewer Expects
  • Define core flows: browse, cart, slot booking, checkout, picking and delivery tracking
  • Estimate daily orders and peak load around popular pickup windows
  • Break the system into services with clear data ownership
  • Design real-time order status and driver location updates
  • Explain how slot capacity and inventory are reserved without overbooking
  • Cover caching, storage choices and failure handling
Key Topics to Cover
Microservices boundaries
Time-slot reservation
Real-time tracking
Inventory consistency
Caching
Event-driven updates
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 do you handle an item that is out of stock when the picker reaches the shelf?
  • How would you prevent overbooking a popular pickup time slot?
  • How would you push live driver location to the customer app at scale?
  • What happens if a store's local system loses connectivity during picking?
Practice a Similar Problem on Codemia

Solve a related problem with our interactive workspace, get AI feedback, and view detailed solutions.

Solve on Codemia
Sample Answer
Requirements

Functional Requirements:

  1. User Registration and Authentication: Users should be able to sign up, log in, and manage their accounts.
  2. Product Search and Recommendation: Users can search...
Capacity Estimation

Assume Walmart has a user base of approximately 300 million users.

  • Daily Active Users (DAU): Let’s estimate 10% (30 million users) interact with the pickup and delivery system daily.
  • **Average...

Submit Your Answer
Markdown supported

Related Questions