From Scratch
117 lessons and 548 connections between them, based on the cross-references in each lesson. Point at a lesson to see its own links. For reading order, seethe From Scratch track page.
TrackAllFrom ScratchSystem DesignDSAAIMind BlownDevOpsFinanceNetworkingHow Computers WorkSecurityPsychologyDatabase InternalsPhilosophyGame TheoryHow Things WorkData SystemsPersonal DevelopmentPortfolio Projects
- Build Your Own Redis, From Scratch13 lessons link here
- Build Your Own Kafka, From Scratch11 lessons link here
- Build Your Own HTTP Server, From Scratch8 lessons link here
- Build Your Own Database, From Scratch12 lessons link here
- Build Your Own Distributed Scheduler, From Scratch9 lessons link here
- Build Your Own Kubernetes, From Scratch7 lessons link here
- Redis 01: The Socket That Answers6 lessons link here
- Redis 02: RESP, The Wire Protocol16 lessons link here
- Redis: The Map (SET / GET / DEL)7 lessons link here
- Redis: One Thread, Many Clients11 lessons link here
- Keys That Die (Expiry)8 lessons link here
- Eviction: Memory Is Full6 lessons link here
- Surviving a Crash (Persistence)10 lessons link here
- Capstone: Redis, Everything5 lessons link here
- Kafka 01: The Naive Queue3 lessons link here
- Kafka 02: The Log11 lessons link here
- Kafka 03: Segments and the Offset Index8 lessons link here
- Kafka 04: Partitions4 lessons link here
- Kafka 05: Consumer Groups7 lessons link here
- Kafka: Replication and Durability7 lessons link here
- Kafka 07: Exactly Once8 lessons link here
- Kafka 08: Everything4 lessons link here
- HTTP 01: The Raw Socket3 lessons link here
- Parse The Request (HTTP)9 lessons link here
- HTTP 03: Frame The Body6 lessons link here
- HTTP 04: Routing and Response5 lessons link here
- HTTP Keep-Alive6 lessons link here
- HTTP Server: Concurrency8 lessons link here
- HTTP 07: Chunked Encoding4 lessons link here
- HTTP 08: Everything7 lessons link here
- Database 01: The Append-Only File7 lessons link here
- Database 02: The Index9 lessons link here
- Pages5 lessons link here
- Database 04: The B-Tree9 lessons link here
- Write-Ahead Log13 lessons link here
- Transactions (MVCC)6 lessons link here
- Database 07: The Query Layer5 lessons link here
- Capstone: Database, Everything6 lessons link here
- Scheduler 01: The Tick Loop5 lessons link here
- Scheduler 02: Durable Job Store5 lessons link here
- Scheduler 03: Heap and Timing Wheel7 lessons link here
- Scheduler 04: Leader Election12 lessons link here
- Scheduler 05: Dispatch Queue5 lessons link here
- Scheduler 06: Idempotency and Fencing9 lessons link here
- Scheduler 07: The Hard Part, Time3 lessons link here
- Capstone: Scheduler, Everything3 lessons link here
- Kubernetes 01: Imperative to Declarative3 lessons link here
- Kubernetes 02: The Reconcile Loop6 lessons link here
- Kubernetes 03: Store and Watch6 lessons link here
- Kubernetes 04: Objects and Controllers7 lessons link here
- Kubernetes 05: The Scheduler4 lessons link here
- Kubernetes 06: The Kubelet8 lessons link here
- Kubernetes 07: Services and Networking4 lessons link here
- Capstone: Kubernetes, Everything3 lessons link here
- KV: the ring4 lessons link here
- KV: quorum5 lessons link here
- KV: hinted handoff3 lessons link here
- KV: everything4 lessons link here
- Enough Go to read these builds5 lessons link here
- Build Your Own Dynamo0 lessons link here
- Build Your Own Raft7 lessons link here
- Raft 01: Leader Election7 lessons link here
- Raft 02: Log Replication6 lessons link here
- Raft 03: Persistence5 lessons link here
- Raft 04: A Key-Value Store on Top3 lessons link here
- Raft Capstone: Everything6 lessons link here
- Build Your Own LSM Tree5 lessons link here
- LSM 01-02: The Memtable and the Log5 lessons link here
- LSM 03-04: Table Files and the Sparse Index5 lessons link here
- LSM 05: The Bloom Filter4 lessons link here
- LSM 06-07: Compaction and Levels3 lessons link here
- LSM Capstone: Everything2 lessons link here
- Build Your Own Git6 lessons link here
- Git 01: The Blob3 lessons link here
- Git 02: The Tree5 lessons link here
- Git 03: Commits, Refs and HEAD5 lessons link here
- Git 04 and 05: Log and Checkout3 lessons link here
- Git: Everything3 lessons link here
- Build Your Own DNS Server5 lessons link here
- DNS 01 and 02: The UDP Socket and the Header5 lessons link here
- DNS 03 and 04: The Question and the Answer4 lessons link here
- DNS 05: Compressed Names4 lessons link here
- DNS 06: A Forwarding Resolver3 lessons link here
- DNS: Everything3 lessons link here
- Build Your Own Container Runtime3 lessons link here
- Container 01: Fork and Exec4 lessons link here
- Container 02: UTS and PID Namespaces3 lessons link here
- Container 03: A Mount Namespace and pivot_root3 lessons link here
- Container 04: /proc and /dev4 lessons link here
- Container 05: Cgroups, Memory and Process Limits3 lessons link here
- Container 06: A Network Namespace and a Virtual Cable3 lessons link here
- Container 07: Everything3 lessons link here
- Reading Go in twenty minutes1 lesson links here
- A TCP of your own over a TUN device1 lesson links here
- A file system of your own2 lessons link here
- Read a TLS 1.3 record by hand0 lessons link here
- An interpreter of your own5 lessons link here
- A kernel that boots1 lesson links here
- A compiler of your own: bytecode and a stack machine0 lessons link here
- A shell of your own1 lesson links here
- A regex engine that cannot blow up0 lessons link here
- A malloc of your own2 lessons link here
- A search engine of your own: index, rank, query0 lessons link here
- A rate limiter and a cache, with tests0 lessons link here
- A BitTorrent client of your own0 lessons link here
- Build a GPT: the series, indexed0 lessons link here
- Load balancer, stage by stage0 lessons link here
- A chain of your own0 lessons link here
- A text editor of your own1 lesson links here
- A CHIP-8 emulator0 lessons link here
- A ray tracer in an afternoon1 lesson links here
- A browser engine of your own0 lessons link here
- A package manager that solves versions0 lessons link here
- A garbage collector of your own0 lessons link here
- A CRDT of your own0 lessons link here
- Paxos, made small0 lessons link here
- Redis again, in Rust0 lessons link here