System Design Interview Questions

All 38 lessons in curriculum order, grouped by track. Each lesson pairs deep-dive questions with interactive diagrams and a quiz, and ends with a hands-on challenge.

Foundations & First Principles

Networking & API Design

Databases & Storage

Caching & Content Delivery

Scaling & Load Balancing

Distributed Systems Theory

Messaging, Queues & Streams

Architecture Patterns

Reliability, Security & Observability

Design Case Studies

Design a URL Shortener (TinyURL / bit.ly)

The classic warm-up question. Deceptively simple functionally, and a perfect vehicle for ID generation, extreme read/write skew and cache design.

16 min · 2 questions · intermediate

Design a News Feed (Twitter / Facebook Timeline)

The canonical fan-out problem. Why neither pure push nor pure pull works at scale, and how the hybrid model that every major platform actually uses is derived.

18 min · 2 questions · advanced

Design a Chat System (WhatsApp / Slack)

Real-time messaging at scale. Connection management, per-conversation ordering, guaranteed delivery across flaky mobile networks, and group fan-out.

17 min · 2 questions · advanced

Design a Notification System

Push, email and SMS at scale. Provider failover, preference enforcement, deduplication and the digest logic that stops you spamming your own users.

15 min · 2 questions · intermediate

Design a Video Streaming Platform (YouTube / Netflix)

The largest-scale case study there is. Transcoding pipelines, HLS and DASH, why 95%+ of bytes must never touch your origin, and counting views at a billion a day.

17 min · 2 questions · expert

Design a Ride-Hailing System (Uber / Lyft)

Real-time geospatial matching. How to index a moving fleet, find nearby drivers in milliseconds, and run a matching algorithm that is correct under heavy concurrency.

16 min · 2 questions · expert

Design a Web Crawler and Search Index

Crawling billions of pages politely, deduplicating near-identical content, and building an inverted index that answers a query in under 200 ms.

17 min · 2 questions · expert

The Interview Playbook