Design Deliverability-Aware Search Infrastructure for Uber Eats Stores
Last updated: November 29, 2026
Quick Overview
Design the search backend that, given a typed query and the eater's location, returns open restaurants and individual dishes that can be delivered to them, ranked by relevance and likelihood to order.
Uber
November 29, 20260
0
0 solved
Design the search backend that, given a typed query and the eater's location, returns open restaurants and individual dishes that can be delivered to them, ranked by relevance and likelihood to order.
Eats search is constrained by geography and real-time availability, which makes it different from web search. Interviewers want you to filter by deliverability first, then retrieve and rank, and to keep store hours and item availability fresh without reindexing the world.
What the Interviewer Expects
- Filter candidates by delivery area and store open status before ranking
- Index both stores and dishes with text plus geo fields
- Describe a two-stage retrieval and ranking pipeline
- Keep availability and hours fresh with partial updates
- Handle typos, cuisines, synonyms, and multiple languages
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
- How do you handle a query like 'pizza' that matches 400 stores nearby?
- How would you incorporate promoted listings without hurting relevance?
- What changes during a dinner rush when store prep times spike?
- How do you evaluate a new ranking model offline and online?
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
Input: query text, eater location, time. Output: a ranked list of stores and dish cards, under 200 ms p99. Only stores that deliver to the eater and are open (or accepting scheduled orders) should app...
High-Level Design
- Query understanding: normalize, spell-correct, detect cuisine or dish intent, expand synonyms (
bobatobubble tea). - Candidate generation: a search cluster (Elasticsearch or in-house Lu...