Advanced Consensus — Crash Fault Tolerance (CFT) vs. Byzantine Fault Tolerance (BFT)
Deep mathematical and architectural guide to distributed consensus, proving the 2f+1 vs 3f+1 quorum thresholds, PBFT three-phase commit, HotStuff linear pipelining, and Byzantine attack defenses.
CockroachDB Architecture: Multi-Raft, HLC & Distributed ACID
Masterclass guide to CockroachDB internals — 5-layer architecture (SQL, Transaction, Distribution, Replication, Storage), Hybrid Logical Clocks (HLC), Multi-Raft consensus, Leaseholders, Write Intents, Parallel Commits, Read Uncertainty, and Pebble storage engine.
Distributed Systems
Core distributed systems concepts including consensus algorithms, leader election, vector clocks, distributed transactions, fault tolerance, and the fallacies of distributed computing.
KRaft vs ZooKeeper: Kafka Metadata Architecture
Comprehensive guide comparing Apache Kafka's legacy ZooKeeper architecture with the modern KRaft (Kafka Raft) metadata mode — covering internal mechanics, failure scenarios, Strimzi Kubernetes deployment, migration strategies, and production deep dives for senior engineers.
Raft Consensus Algorithm
A comprehensive guide to the Raft Consensus Algorithm — covering leader election, log replication, safety guarantees, and how it is implemented in Apache Kafka's KRaft metadata mode.