cswork / libraryOpen practice workspace

Interview experiences · Uber Freight

Uber Freight Software Engineer Interview Experience — Real-Time Restaurant Analytics Dashboard System Design Round

OnsiteInterviewed 2026-08

System Design Design a real-time Restaurant Analytics Dashboard System requirements: show order volume, top dishes, and revenue for the past 1h, 1d, and 7d. Data must update in real time, and throughput needs to support 100K orders/sec. Primary store schema design: determine the primary storage's tables, partition key, and columns. Cache key design: determine the Redis key pattern and the corresp…

System Design

Design a real-time Restaurant Analytics Dashboard

  1. System requirements: show order volume, top dishes, and revenue for the past 1h, 1d, and 7d. Data must update in real time, and throughput needs to support 100K orders/sec.
  2. Primary store schema design: determine the primary storage's tables, partition key, and columns.
  3. Cache key design: determine the Redis key pattern and the corresponding TTL.
  4. Access pattern design: explain how the 1h, 1d, and 7d queries each hit the right storage tier precisely, without scanning millions of rows of raw orders.
  5. Rollup aggregation design: explain the specific aggregation strategy for rolling up data at the minute, hour, and day level.
  6. Follow-up 1: How do you handle an extremely heavy read load?
  7. Follow-up 2: If Redis goes down, how do you replay through Kafka and rebuild the data?
  8. Follow-up 3: How do you efficiently extract the top 3 dishes? How do you keep a full dish-frequency map in storage and merge it at read time?
  9. Follow-up 4: How do you handle late-arriving events, and how do you use Flink watermarks?

Comments

Nothing here yet.

Join in on CSWork →