Skip to main content
InterviewHubPRO
Section Overview
Q32

Question 32 of 50

Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)

64%
SRE & Observability (50 Qs)•Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)

What is Distributed Consensus and how does Raft maintain quorum?

senior LevelSystem Design

In Simple Words: Used by etcd, Kubernetes, and Consul to maintain consistent cluster state:

  • Guarantees that a cluster can continue operating correctly as long as a strict majority ($\lfloor N / 2 \rfloor + 1$) of nodes are healthy.
  • Elects a single Leader. All writes go to the Leader, which replicates entries to followers and commits only after majority acknowledgment.