Design Per-City Marketplace Health Alerting for Operations Teams
Last updated: November 29, 2026
Quick Overview
Design a system that watches key marketplace metrics for every city (requests, completed trips, ETAs, cancellations, driver supply) minute by minute and alerts the right team when something is abnormal, without paging people for normal daily and weekly patterns.
Uber
November 29, 20260
0
0 solved
Design a system that watches key marketplace metrics for every city (requests, completed trips, ETAs, cancellations, driver supply) minute by minute and alerts the right team when something is abnormal, without paging people for normal daily and weekly patterns.
With thousands of city and product combinations, Uber cannot hand-set thresholds, so this question tests metrics pipelines plus seasonal anomaly detection and alert routing. Interviewers look for how you model expected values, reduce false alarms, and tie alerts to actionable owners.
What the Interviewer Expects
- Build a streaming metrics pipeline with dimensional rollups
- Model expected values with seasonality (time of day, day of week, holidays)
- Score anomalies and require persistence before alerting
- Route and deduplicate alerts by city, product, and owning team
- Support annotations for known events and maintenance
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 avoid an alert storm when an upstream outage drops trips in 200 cities at once?
- How do you handle a small city with only a handful of trips per minute?
- How would you tell a real-world event (a stadium concert) apart from an app bug?
- How do you measure whether your alerting is good?
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
Metrics per (city, product, minute): requests, completed trips, conversion, median ETA, cancel rate, online drivers. Detect drops or spikes within 5 minutes, low false positives, and alerts that say w...
High-Level Design
- Event stream (requests, trip state changes, driver status) feeds a streaming job that aggregates per minute per dimension and writes to a time-series store (an OLAP store like Pinot or a TSDB). ...