Sikau

Learn System design

Design systems for millions: balancing, caching, sharding and failing well.

Learn how big systems are built by building their parts: back-of-the-envelope estimates, load balancers, LRU caches, consistent hashing, quorum replication, retries with idempotency keys and circuit breakers — ending with a sharded, cached URL shortener.

Advanced · 12 lessons · about 8 hours · free

Start System design free: run real code in your browserright here

Continue with Google

What you will learn

Unit 1: Building blocks

Estimates, load balancers, caches and consistent hashing.

  1. Day 1Back-of-the-envelope numbersTurn users and actions into requests per second and storage.30 min
  2. Day 2Load balancersRound robin, weights, least connections and health checks.35 min
  3. Day 3CachingAn LRU cache with expiry, cache-aside loading and hit rates.40 min
  4. Day 4Project: Consistent hashingSpread keys over servers so adding one moves only a fair share.45 min

Unit 2: Reliability at scale

Replication, retries, circuit breakers — and a URL shortener.

  1. Day 5Replication and quorumsCopies on several machines; R + W > N keeps reads fresh.40 min
  2. Day 6Retries and idempotencyExponential backoff with jitter, and charging a card exactly once.40 min
  3. Day 7Circuit breakersStop calling a failing service; probe it again after a cooldown.35 min
  4. Day 8Capstone: A URL shortenerBase62 codes, sharded storage on a hash ring, and an LRU cache.55 min

Unit 3: Operating at scale

Rate limits, queues, observability — and a news feed.

  1. Day 9Rate limitingA token bucket that lets bursts through but caps the average.40 min
  2. Day 10Queues and at-least-once deliveryHand slow work to a queue; acks, redelivery and a dead-letter box.45 min
  3. Day 11Observability and SLOsPercentiles beat averages; an error budget turns reliability into a number.40 min
  4. Day 12Capstone: A news feedFan-out on write for most authors, on read for the famous ones.50 min

Before you start

These courses make System design easier:

See all courses

Built with ❤️ by dibe.sh