← Uber Interview Insights

Uber·Software Engineer·Onsite - System Design / Architecture·Senior

Senior
May 2026

Summary

Uber system design round for a software engineer role. One question, stock trading system, and it was a pretty involved session.

Questions Asked (1)

Q1

Design a stock trading system.

System DesignTechnical Trade-offsData Modeling
Author's notes

Spent the first few minutes just trying to scope it down because stock trading can mean a hundred different things.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Start by clarifying the scope (e.g., retail vs. institutional, asset classes, expected scale) and then focus on core components: order management, matching engine, market data, and persistence. Emphasize trade-offs between consistency, latency, and scalability, and discuss how you would handle high throughput and fault tolerance.

Pro tip: Show awareness of regulatory and financial constraints (e.g., SEC rules, audit trails) and how they influence design decisions like immutability and exactly-once processing.

1. Clarify Requirements

Ask questions to understand functional and non-functional requirements: user types, order types, expected throughput, latency, consistency needs, and regulatory constraints.

2. High-Level Architecture

Sketch the main components: API gateway, order service, matching engine, market data service, persistence layer, and notification service. Explain data flow.

3. Deep Dive into Critical Components

Focus on the matching engine (e.g., order book data structure, matching algorithms) and data storage (e.g., time-series DB for trades, relational for orders). Discuss concurrency and consistency.

4. Scalability and Reliability

Explain how to scale horizontally (e.g., sharding by symbol), ensure fault tolerance (replication, leader election), and handle peak loads (backpressure, queues).

5. Trade-offs and Wrap-up

Summarize key trade-offs (e.g., latency vs. consistency, SQL vs. NoSQL) and propose monitoring, alerting, and deployment strategies.

Key Points to Mention

  • Order book data structure (e.g., balanced BST, skip list) and matching algorithms (price-time priority)
  • Exactly-once processing and idempotency to avoid duplicate trades
  • Event sourcing and CQRS for auditability and read/write separation
  • Low-latency messaging (e.g., Kafka, Aeron) and in-memory computing
  • Regulatory compliance (e.g., SEC Rule 613, MiFID II) and audit trails
  • Disaster recovery and multi-region deployment for high availability

AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.