Free PDF — Engineering Reference
The Distributed Systems Cheatsheet
For Engineers Who Build Across Networks
Every distributed systems concept that matters in one place. CAP, consistency models, consensus algorithms, replication, partitioning, failure modes, idempotency, distributed transactions, observability.
Consistency Models Linearizable, sequential, causal, eventual — with concrete examples and when each is enough.
Consensus Demystified Raft, Paxos, Multi-Paxos, ZAB. What each does, where they're used, what they can't do.
Failure Modes Crash-stop, omission, Byzantine, network partitions, gray failures. How real systems handle each.
Operating at Scale Idempotency, exactly-once myths, distributed transactions, observability for split systems.
No spam. Unsubscribe anytime. You'll also get my weekly posts on AI & engineering.
Your PDF is Ready
Click below to download. You're also subscribed to weekly AI & engineering posts.
Download PDF Browse the blogSomething went wrong
Could not process your request. Please try again.
What's Inside
Theory
- CAP, PACELC, FLP impossibility
- Consistency models: linearizable → eventual
- Time and ordering: Lamport, vector clocks, hybrid
- Failure detectors and the 'φ' algorithm
Coordination
- Raft step-by-step (with diagrams)
- Paxos and Multi-Paxos vs Raft
- Leases, leadership, fencing tokens
- Quorum math: N, W, R reasoning
Data
- Replication: leader, multi-leader, leaderless
- Partitioning: hash, range, consistent hashing
- Distributed transactions: 2PC, Saga, TCC
- Conflict resolution: LWW, CRDTs, app-level
Operate
- Idempotency keys and dedup patterns
- Retry, backoff, jitter, circuit breakers
- Observability: traces, logs, RED/USE metrics
- Chaos testing and failure injection