Start reading
Study notes on Designing Data-Intensive Applications and Kafka: The Definitive Guide, and hands-on modules for the infrastructure they describe.
Two kinds of book live here. Study notes on Designing Data-Intensive Applications and Kafka: The Definitive Guide, read closely chapter by chapter. And hands-on modules (PostgreSQL, ClickHouse, Prometheus & Grafana, Redis, Kafka, RabbitMQ, SeaweedFS, Nginx, Kubernetes), each a production-shaped stack in this repository with labs whose measured results the lessons report.
Each study-notes chapter follows the same shape: the argument in order, diagrams redrawn from the figures, technology deep dives, a production failure catalog, a decision cheat sheet, worked arithmetic, and a self-test.
Kleppmann & Petrov · 2nd edition
Designing Data-Intensive Applications
Chapter-by-chapter notes on Designing Data-Intensive Applications, 2nd edition — concepts, diagrams, technology deep dives, failure catalogs, and self-tests.
Shapira, Palino, Sivaram & Petty · 2nd edition
Kafka: The Definitive Guide
Chapter-by-chapter notes on Kafka: The Definitive Guide — producers, consumers, internals, exactly-once semantics, operations, and stream processing.
Row-oriented OLTP database
PostgreSQL
PostgreSQL from zero to production on a three-node cluster: MVCC and VACUUM, isolation anomalies, indexes and the planner, WAL and point-in-time recovery with pgBackRest, streaming replication and automatic failover with Patroni and etcd, PgBouncer, security, load testing, failure drills, upgrades, and monitoring, all measured in labs.
Column-oriented OLAP database
ClickHouse
ClickHouse from zero to production on a 2 shard x 2 replica cluster with ClickHouse Keeper: MergeTree parts and merges, schema design, materialized views and projections, async inserts, replication and Distributed tables, security, backup and restore to S3, load testing, failure drills, rolling upgrades and monitoring, all measured in labs.
Metrics, dashboards & alerting
Prometheus & Grafana
Prometheus and Grafana from zero to production: the scrape model, metric types, PromQL, instrumentation and exporters, dashboards as code, alerting and SLOs, TSDB internals, scaling, and running it all safely.
In-memory data structure server
Redis
Redis from zero to production: the event loop, every data structure and its encoding, expiration and eviction, caching, rate limiting, locks, transactions and Lua, Pub/Sub and Streams, persistence, replication with Sentinel, Redis Cluster, and operations.
Hands-on with a 3-broker KRaft cluster
Kafka in Practice
The hands-on companion to the Kafka book notes: a 3-node KRaft cluster, producers and consumer groups, delivery semantics, share groups, replication and broker failures, transactions, Schema Registry, Debezium CDC, and operations, each tested against a live cluster.
Message broker with routing
RabbitMQ
RabbitMQ from zero to production on a 3-node cluster: the AMQP model, exchange routing, consumer acks and publisher confirms, quorum queues and streams, dead-lettering and retries, flow control, clustering, security, and monitoring.
S3-compatible object storage
SeaweedFS (Object Storage)
Self-hosted S3-compatible object storage from zero to production on a SeaweedFS cluster: the S3 API, scoped credentials, masters, volume servers and the filer, replication placement and a failure drill, erasure coding, versioning and lifecycle, backups, monitoring, and failure scenarios.
Reverse proxy and load balancer
Nginx
Nginx from zero to production as the edge of a real stack: the process model and configuration, static files and reverse proxying, load balancing and backend failures, caching and rate limiting, TLS and hardening, logging, monitoring, and failure scenarios, all measured in labs.
Running applications on a cluster
Kubernetes
Kubernetes from zero to production on a real multi-node kind cluster: the control plane and reconciliation, workloads and configuration, probes and zero-downtime rollouts, resources and autoscaling, scheduling, drains and node failure, Services and the Gateway API, NetworkPolicies, StatefulSets, security, monitoring, and failure scenarios, all measured in labs.
How each chapter is laid out
| Section | What's in it |
|---|---|
| Concepts | The chapter's argument, in order, with key sentences preserved verbatim where the exact wording matters |
| Diagrams | Redrawn from the book's figures, plus extra diagrams for mechanisms described only in prose |
| Technology deep dives | Per system: what problem it solves · why the alternative wasn't enough · how it works internally · deployment · monitoring · scaling · backup · what breaks in production |
| Production failure catalog | Symptom → underlying mechanism, filterable |
| Decision cheat sheet | The choices you'll actually have to make, with the criteria |
| Worked examples | The arithmetic behind the trade-offs |
| Self-test | 20–49 questions per chapter, ending in an open design question, with progress tracked |
| Terminology · Forward links | Chapter vocabulary, and where each idea gets developed next |
The books supply the concepts and the failure modes; the deployment/monitoring/backup material is the practitioner layer they deliberately leave to you.