Index

From Scratch

54 boards, 92 lessons, 655 review questions, in 13 chapters. Read them in order. Each chapter builds on the one before.

Your progress0 of 92 read

Start here → Enough Go to read these builds

Contents

  1. 1Enough Go1 lesson

    The handful of Go every build in this track leans on: errors as values, defer, maps, goroutines, channels and a mutex, each shown working and then found in a real build file.

  2. 2Redis9 lessons
  3. 3HTTP Server9 lessons
  4. 4Kafka9 lessons
  5. 5Database9 lessons
  6. 6LSM Tree6 lessons

    A memtable and a WAL grow into SSTables, a sparse index, bloom filters and leveled compaction, the write-optimised engine behind LevelDB and Bigtable.

    after One Database, to the Bolt

  7. 7Distributed Scheduler9 lessons
  8. 8Sharded KV store5 lessons

    A key-value store spread over many machines: a hash ring, quorum reads and writes, hinted handoff when a node dies, and Merkle trees that find what drifted.

    after The stall gets famous

  9. 9Raft6 lessons

    A cluster that agrees: leader election, log replication, crash-safe persistence and a replicated KV on top, run in a deterministic simulation with chaos tests.

    after Data on one machine

  10. 10Kubernetes9 lessons
  11. 11Git6 lessons

    Content-addressed blobs, trees, commits, refs and checkout, written in Go until the real git reads and clones what the build wrote.

  12. 12DNS Server6 lessons
  13. 13Container Runtime8 lessons
Borrowed from other tracks (22)

You don't need to take those tracks. These are the only lessons this track uses from them, and each is linked where it is needed.