Design Live Order Status Updates for Grocery Pickup Customers

Last updated: November 29, 2026

Quick Overview

Design the system that pushes real-time status changes (picking started, substitution proposed, order ready, customer arrived) to shoppers waiting on an online grocery pickup order. Updates must reach the mobile app within a few seconds and survive flaky phone connections.

Walmart Labs
System Design
Software Engineer
Walmart Labs
November 29, 2026
Software Engineer
System Design Round
System Design
Medium

0

0

0 solved


Design the system that pushes real-time status changes (picking started, substitution proposed, order ready, customer arrived) to shoppers waiting on an online grocery pickup order. Updates must reach the mobile app within a few seconds and survive flaky phone connections.

Online grocery pickup and delivery is one of Walmart's largest digital businesses, and associates in thousands of stores generate a constant stream of order events. Interviewers use this to see whether you can separate the event backbone from the last-mile push layer and reason about mobile reconnects at peak weekend volume.

What the Interviewer Expects
  • Clarify event types, latency target and peak concurrent connections
  • Separate an internal event stream from a client-facing connection gateway
  • Handle reconnects with a resume cursor so no update is lost or shown twice
  • Use APNs/FCM as a fallback when the app is backgrounded
  • Discuss partitioning by order or store and hot-store behavior
Key Topics to Cover
WebSockets and SSE
Event streaming with Kafka
Resume cursors
Push notification fallback
Connection gateway scaling
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 a substitution approval that needs a reply within two minutes?
  • What changes if the customer has the app open on two devices?
  • How would you load test this before the Thanksgiving week peak?
  • How do you avoid a thundering herd when a gateway node restarts?
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: customers see order state transitions (placed, picking, substitution pending, staged, ready, customer checked in, handed off) and can act on substitution prompts. Non-functional: p95 under...

High-Level Design
  1. Store systems (picker handhelds, staging, check-in) emit domain events to an order-events Kafka topic keyed by order_id.
  2. An Order Status Service consumes, applies a state machine (reje...

Submit Your Answer
Markdown supported