LOAD-BEARINGfree
Tier 77 lessons, about 100 minutes of reading · checkpoint at the top

Derived Data

The other half of the system. Analytical stores, pipelines, read models rebuilt from history, and who owns the number when three teams report it differently.

Units on this floor

  1. OLTP and OLAP: one database cannot do both7.01 · 14 min

    Everything in this course so far has been one workload: a user does a thing, a handful of rows change, an answer comes back in milliseconds. That workload has a name — OLTP, online…

  2. Columnar storage and the warehouse7.02 · 14 min

    Tier 3 taught you how rows are stored and never mentioned the alternative. Here it is, and it is one of the few architectural changes that buys two orders of magnitude rather than a…

  3. Batch or stream, and when nightly is correct7.03 · 13 min

    There is an assumption worth dismantling before anything else: that streaming is the grown-up version of batch, and a nightly job is what you run until you get round to doing it properly.

  4. Event sourcing and CQRS7.04 · 16 min

    Two ideas that arrive together, get conflated constantly, and are worth separating — because one of them is a modest technique you are probably already using, and the other is a commitment…

  5. Data contracts: who owns the number7.05 · 13 min

    A scene that will be familiar. Three dashboards say the company had 1.2 million, 1.4 million and 980,000 active users last month. Each was built by a competent team from the same…

  6. Change data capture: the log as an integration point7.06 · 15 min

    Every lesson in this tier assumes a copy exists somewhere — the warehouse, the search index, the cache, the other service's read model. None of them has said how the data gets there. That…

  7. Stream state, windows, and the exactly-once claim7.07 · 15 min

    Lesson 7.03 gave you the choice between batch and stream and told you when nightly is the correct answer. This one is about what is actually inside the stream engine when you pick the…