Guide contents

Staff Engineer System Design

Staff (L6) system design: the evaluator lens, the Staff decision loop, the five core primitives, fifteen production system blueprints from rate limiting to collaborative editing, and interview pacing, evaluation signals, and controversial opinions.

53 lessons in 17 sections

Start with Chapter 1: The Staff Evaluator Lens →

Thinking Like a Staff Engineer

Part I: the Staff evaluator lens, the Staff Decision Loop, and the five core primitives of distributed systems.

  1. 1.Chapter 1: The Staff Evaluator Lens
  2. 2.Chapter 2: The Staff Decision Loop, Part 1 (Understand)
  3. 3.Chapter 2: The Staff Decision Loop, Part 2 (Decide)
  4. 4.Chapter 3: The Five Core Primitives

Distributed Rate Limiting and Abuse Defense

Production System Blueprint 1: Protecting Hyperscale Gateways Without Becoming the Single Point of Failure

  1. 5.Rate Limiting: Framing, Scale Math, and Architecture
  2. 6.Rate Limiting: Token Leasing, Policy Governance, and Deep Dives
  3. 7.Rate Limiting: Interview Calibration, Opinions, and Runbooks

Mission-Critical Payment Gateway and Double-Entry Ledger

Production System Blueprint 2: Financial Integrity, Idempotent Processing, and Distributed Ledger Design

  1. 8.Payment Gateway and Ledger: Framing, Scale Math, and Architecture
  2. 9.Payment Gateway and Ledger: Ledger Engine, State Machine, and Deep Dives
  3. 10.Payment Gateway and Ledger: Interview Calibration, Opinions, and Runbooks

Flash Sales and High-Contention Inventory

Production System Blueprint 3: Virtual Waiting Rooms, Distributed Inventory Locking, and Anti-Bot Defense

  1. 11.Flash Sales and Inventory: Framing, Scale Math, and Architecture
  2. 12.Flash Sales and Inventory: Reservation Engine, Anti-Bot Defense, and Deep Dives
  3. 13.Flash Sales and Inventory: Interview Calibration, Opinions, and Runbooks

Distributed Task Scheduler and Job Orchestrator

Production System Blueprint 4: Reliable Delayed Execution, Fault-Tolerant DAG Workflows, and Fenced Distributed State

  1. 14.Task Scheduler: Framing, Scale Math, and Architecture
  2. 15.Task Scheduler: Scheduling Engine, Schemas, Fencing, and Deep Dives
  3. 16.Task Scheduler: Interview Calibration, Opinions, and Runbooks

Distributed Message Queue at Hyperscale

Production System Blueprint 5: High-Throughput Append-Only Logs, Partition Sharding, and Cooperative Consumer Groups

  1. 17.Message Queue: Framing, Scale Math, and Architecture
  2. 18.Message Queue: Commit Log, Rebalancing, and Deep Dives
  3. 19.Message Queue: Interview Calibration, Opinions, and Runbooks

Real-Time Ride Dispatch and Geospatial Matching

Production System Blueprint 6: High-Frequency GPS Telemetry, Uber H3 Hexagonal Spatial Indexing, and Global Bipartite Batch Matching.

  1. 20.Ride Dispatch: Framing, Scale Math, and Architecture
  2. 21.Ride Dispatch: Spatial Indexing, Batch Matching, and Deep Dives
  3. 22.Ride Dispatch: Interview Calibration, Opinions, and Runbooks

High-Throughput Notification and Fan-Out Engine

Production System Blueprint 7: Multi-Channel Routing, Intelligent Fatigue Suppression, and Priority-Shaped Egress.

  1. 23.Notification Fan-Out: Framing, Scale Math, and Architecture
  2. 24.Notification Fan-Out: Suppression, Rate Shaping, and Deep Dives
  3. 25.Notification Fan-Out: Interview Calibration, Opinions, and Runbooks

Real-Time Collaborative Chat & Presence

Production System Blueprint 8: Persistent Connection Gateways, Monotonic Conversation Sequencing, and Scoped Presence

  1. 26.Chat and Presence: Framing, Scale Math, and Architecture
  2. 27.Chat and Presence: Sequencing, Fan-Out, and Deep Dives
  3. 28.Chat and Presence: Interview Calibration, Opinions, and Runbooks

Distributed File Storage & Sync Engine

Production System Blueprint 9: Content-Defined Chunking, Client State Machines, and Zero-Data-Loss Conflict Resolution

  1. 29.File Storage and Sync: Framing, Scale Math, and Architecture
  2. 30.File Storage and Sync: Chunking, State Machine, and Deep Dives
  3. 31.File Storage and Sync: Interview Calibration, Opinions, and Runbooks

Ultra-Low Latency Financial Order Matching Engine

Production System Blueprint 10: Single-Threaded Determinism, High-Performance Limit Order Books, and Mechanical Sympathy.

  1. 32.Order Matching Engine: Framing, Scale Math, and Architecture
  2. 33.Order Matching Engine: Limit Order Book, Disruptor, and Deep Dives
  3. 34.Order Matching Engine: Interview Calibration, Opinions, and Runbooks

News Feed and Social Timeline Fan-Out

Part II — Production System Blueprints

  1. 35.News Feed Fan-Out: Framing, Scale Math, and Architecture
  2. 36.News Feed Fan-Out: Deep Dives, Data Models, and Schemas
  3. 37.News Feed Fan-Out: Resilience, Interview Questions, and Runbooks

Global Video Streaming and Edge CDN

Global Video Streaming & Edge CDN

  1. 38.Video Streaming and CDN: Framing, Scale Math, and Architecture
  2. 39.Video Streaming and CDN: Deep Dives, Data Models, and Failure Modes
  3. 40.Video Streaming and CDN: Staff Interview Calibration and Runbooks

Search Autocomplete and Inverted Index Engine

Search Autocomplete & Inverted Index Engine

  1. 41.Search Autocomplete and Inverted Index: Framing, Scale Math, and Architecture
  2. 42.Search Autocomplete and Inverted Index: Deep Dives, Data Models, and Failure Modes
  3. 43.Search Autocomplete and Inverted Index: Staff Interview Calibration and Runbooks

Globally Distributed URL Shortener & Analytics

Chapter 17: a globally distributed URL shortener with range-leased key generation, edge caching, and real-time click analytics.

  1. 44.URL Shortener: Framing, Scale Math, and Architecture
  2. 45.URL Shortener: Deep Dives, Data Models, and Schemas
  3. 46.URL Shortener: Failure Modes, Interview Questions, and Runbooks

Real-Time Collaborative Document Editing

Chapter 18: real-time collaborative document editing with sequence CRDTs, an in-memory collaboration tier, ephemeral presence, and an asynchronous mutation pipeline.

  1. 47.Collaborative Editing: Framing, Scale Math, and Architecture
  2. 48.Collaborative Editing: Deep Dives, Peritext, and Data Models
  3. 49.Collaborative Editing: Failure Modes, Interview Questions, and Runbooks

Interview Mastery and the Staff Evaluator

Part III — Interview Mastery & The Staff Evaluator

  1. 50.Pacing the 45-Minute Staff Interview
  2. 51.What Interviewers Are Actually Evaluating
  3. 52.Controversial Opinions: Greatest Hits
  4. 53.Coming in Volume 2: Advanced Infrastructure and the Full Playbook Syllabus