Design a Shared Group Order Cart for Uber Eats

Last updated: November 29, 2026

Quick Overview

Design Group Orders: a host creates a cart, shares a link, and several people add items from their own phones at the same time, see each other's changes live, and the host checks out once before a deadline.

Uber
System Design
Frontend Engineer
Uber
November 29, 2026
Frontend Engineer
System Design Round
System Design
Medium

0

0

0 solved


Design Group Orders: a host creates a cart, shares a link, and several people add items from their own phones at the same time, see each other's changes live, and the host checks out once before a deadline.

Group ordering is a collaboration and sync problem inside a commerce flow, which is why Uber interviewers use it for product-minded engineers. They check the cart data model, concurrent edits, live updates to all participants, and what locks when the host checks out.

What the Interviewer Expects
  • Model the cart as per-participant line items to minimize conflicts
  • Use versioned updates or operations so concurrent edits do not clobber each other
  • Push live changes to participants over a realtime channel
  • Lock the cart at checkout and handle late edits gracefully
  • Handle payment split options and item availability changes
Key Topics to Cover
Collaborative state
Optimistic concurrency
Realtime updates
Checkout locking
Conflict resolution
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
  • Two people change the quantity of the same shared item at the same time. What happens?
  • How do participants who are not Uber users join?
  • What happens if an item goes out of stock after someone added it?
  • How do you show who added what on the receipt and handle per-person payment?
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

Host picks a store, sets an optional deadline and spending limit per person. Participants join through a link, add or remove their own items, and see everyone's items in near real time. Host reviews a...

High-Level Design
  • Group cart service stores cart {id, store_id, host, state, version, deadline} and line_items {id, cart_id, owner, item_id, options, qty, version}.
  • Participants modify only their own line i...

Submit Your Answer
Markdown supported