Dhruv
Dhruv Gupta

Engineer by craft, explorer by instinct

Journal

Thoughts, deep-dives, and learnings from building software.

The Hardest Part of Raft Is Not Elections — It’s Log Replication

Why most Raft implementations don’t fail during leader election, but break down while replicating logs—when nodes diverge, leaders crash mid-flight, and consistency has to be actively repaired under real-world conditions where nothing stays perfectly in sync.

Jan 9, 2026
Distributed SystemsRaftConsensus