What is Consensus in Distributed Systems?

Consensus is a concept in Distributed Systems that looks at ways to make a set of nodes agree on a decision.

For example, suppose we have a distributed database system that has a master node and a set of slave nodes. If the master node dies, which slave node should become the master and how to select it? This is where we need to reach consensus among these nodes pick the next master.

Leave a Reply