Concepts.

Learning track

System Design

From one server to planet scale.

Networking, caching, databases, distributed consensus and real-world architectures, with live simulations of how systems behave under load.

Start with What is System Design?
5 modules · 55 topics 49 interactive ~13 hours

Fundamentals

How the internet actually works

Networking, protocols, APIs, estimation and the core qualities of a system: scalability, availability and performance.

0/10

Building Blocks

The components of every system

DNS, load balancers, caches, databases, queues and the other Lego bricks you compose into real architectures.

0/15
02.01

Domain Name System (DNS)

How names become IP addresses: resolvers, root and TLD servers, record types, TTLs and GeoDNS.

Beginner 12m Interactive
02.02

Load Balancing

Distribute traffic across servers: algorithms, L4 vs L7, health checks and sticky sessions.

Intermediate 15m Interactive
02.03

Proxies & API Gateways

Forward vs reverse proxies, and API gateways for routing, auth, rate limiting and aggregation.

Intermediate 12m Interactive
02.04

Content Delivery Networks

Serve content from the edge: push vs pull CDNs, cache keys, invalidation and edge compute.

Intermediate 12m Interactive
02.05

Caching

Cache-aside, write-through, write-back, eviction policies, invalidation and stampede protection.

Intermediate 18m Interactive
02.06

SQL vs NoSQL Databases

Relational, key-value, document, wide-column and graph databases, and how to choose.

Intermediate 16m Interactive
02.07

Database Indexing

B-tree and hash indexes, composite and covering indexes, and LSM trees vs B-trees.

Intermediate 14m Interactive
02.08

Database Replication

Leader-follower, multi-leader and leaderless replication; sync vs async and replication lag.

Intermediate 15m Interactive
02.09

Sharding & Partitioning

Split data across machines: range, hash and directory partitioning, hot spots and rebalancing.

Advanced 15m Interactive
02.10

Consistent Hashing

Place servers and keys on a ring so adding a node moves only K/N keys; virtual nodes for balance.

Advanced 13m Interactive
02.11

Message Queues & Pub/Sub

Decouple services with queues and logs: Kafka, RabbitMQ, consumer groups and backpressure.

Intermediate 16m Interactive
02.12

Blob & Object Storage

Store files at scale: S3-style object stores, block vs file vs object storage, and pre-signed URLs.

Beginner 10m Interactive
02.13

Search Systems

Inverted indexes, tokenisation, TF-IDF/BM25 ranking and how Elasticsearch scales search.

Intermediate 13m Interactive
02.14

Rate Limiting

Token bucket, leaky bucket, fixed and sliding windows, and distributed rate limiting.

Intermediate 14m Interactive
02.15

Unique ID Generation

UUIDs, database sequences, ticket servers and Twitter Snowflake IDs.

Intermediate 10m Interactive

Distributed Systems

Many machines, one system

CAP, consistency, consensus, quorums, clocks and failure detection: the theory that keeps distributed systems correct.

0/10

Case Studies

Design real systems end to end

Interview-style designs of well-known systems: requirements, estimates, APIs, data models, architecture and deep dives.

0/12
05.01

Design a URL Shortener

TinyURL/bit.ly: ID generation, base62 encoding, redirection and caching hot links.

Intermediate 18m
05.02

Design a News Feed

Twitter/Instagram timelines: fan-out on write vs read, ranking and the celebrity problem.

Advanced 20m Interactive
05.03

Design a Chat System

WhatsApp/Slack: WebSocket gateways, message ordering, delivery receipts, presence and group chat.

Advanced 20m
05.04

Design a Video Streaming Platform

YouTube/Netflix: upload pipelines, transcoding, adaptive bitrate streaming and CDNs.

Advanced 20m Interactive
05.05

Design a Ride-Sharing Service

Uber/Lyft: location updates, geohashes and quadtrees, matching drivers and surge pricing.

Advanced 20m Interactive
05.06

Design a Web Crawler

Crawl billions of pages politely: URL frontier, deduplication, robots.txt and distributed workers.

Advanced 17m
05.07

Design Search Autocomplete

Typeahead suggestions in under 100 ms: tries with top-k caching and data collection pipelines.

Intermediate 15m Interactive
05.08

Design a Notification System

Push, SMS and email at scale: fan-out workers, templates, preferences, retries and rate limits.

Intermediate 15m
05.09

Design a Distributed Key-Value Store

Dynamo-style: partitioning, replication, quorums, vector clocks, Merkle trees and anti-entropy.

Advanced 20m
05.10

Design Cloud File Storage

Google Drive/Dropbox: chunking, deduplication, sync conflicts and metadata databases.

Advanced 18m Interactive
05.11

Design a Payment System

Stripe-like payments: idempotency, double-entry ledgers, reconciliation and exactly-once money movement.

Advanced 18m
05.12

Design a Ticket Booking System

Ticketmaster/BookMyShow: seat holds, high-contention inventory, virtual waiting rooms.

Advanced 17m Interactive