Skip to content
Tech Intuition
Tech Intuition

Appearance

Theme

Signal · Dark with amber

Background

Slow stars and the odd comet

Connect

Track · 11 lessons

Distributed systems

Explain what a database or a distributed system does under load and under failure well enough to defend a design choice from first principles, not from a diagram you memorised.

  • 11 lessons, about 340 minutes
  • 45 self-check questions with answers
  • 16 diagrams
  • 77 code samples, compiled and tested
  • Interactive companion
  • Free, no sign-up

Course content

Read the lessons in order. Each one builds on the one before.

Section 01 of 03

Storage and transactions

How data is laid out on disk, found again quickly, and changed safely by many users at once.

Section 02 of 03

Time, agreement and coordination

What changes when the data lives on many machines that disagree about the time, fail separately and still have to agree.

Section 03 of 03

Streams, sketches and search

Logs that many readers share, summaries that answer questions about huge data in small memory, and the index behind search.

How it is ordered

Start with storage engines and indexes, then erasure coding and durability (how data survives disk failures for less than three copies) and time-series databases (compressing and indexing millions of samples a second), then transactions: how one database keeps data fast to find and safe to change. Then time and ordering: what changes when the data lives on many machines that disagree about the time and fail separately. Consensus and distributed transactions come next. The last section covers logs and streams (Kafka, delivery guarantees, change data capture), the sketches that answer questions about huge data in small memory, the inverted index behind search, and near-duplicate detection and page freshness (finding pages that are almost the same, and deciding when to look at a copy again).

How to practise

After each lesson, close it and draw the mechanism from memory: the data structure, one write and one failure travelling through it, and what it costs. If you cannot draw it, you cannot defend it in a design review.

What is not here

Mechanisms, not products: each lesson explains the idea and names the real systems that use it. Behaviour that differs by version or vendor is flagged as something to check, and all code is C# that the site's tests compile and run.

Send a message

It goes straight to my inbox. I usually reply within a few days.