This question evaluates understanding of distributed consensus algorithms, replicated state machines, leader election, log replication, and crash-fault tolerance (Paxos vs. Raft) within system design and distributed systems.
You are designing a replicated state machine that must remain correct under machine crashes, message loss/reordering, and network partitions (but not Byzantine faults). Consensus maintains a single, ordered log of commands that all nodes eventually apply to reach the same state.
Assume:
Explain and compare the Paxos and Raft consensus algorithms. Cover:
Login required