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.
Consensus Mechanisms - PoW, PoS, BFT, and Finality
Distributed consensus for blockchains - FLP impossibility, Nakamoto consensus, Proof of Stake with Casper FFG, PBFT/Tendermint, Raft vs BFT, fork choice, 51% attacks, long-range attacks, and trade-offs.
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.
Split-Brain: Dual Primary & Multi-Leader Divergence
Senior Principal deep dive into split-brain syndrome, dual-primary scenarios, multi-leader data divergence, fencing tokens, STONITH, and conflict reconciliation (LWW vs CRDTs vs Version Vectors).