Open In App

Distributed Consensus in Distributed Systems

A procedure to reach a common agreement in a distributed or decentralized multi-agent platform. It is important for the message passing system.

Example – 



A number of processes in a network decide to elect a leader. Each process begins with a bid for leadership. In traditional or conventional distributed systems, we apply consensus to ensure reliability and fault tolerance. It means, in a decentralized environment when you have multiple individual parties, and they can make their own decision, then it may happen that some node or some parties are working maliciously or working as a faulty individual.  So in those particular cases, it is important to come to a decision or common point of view. So having a common point of view in an environment where people can behave maliciously or people can crash the work in a faulty way, is the main difficulty. So under this kind of distributed environment, our objective is to ensure reliability which means to ensure correct operation in the presence of faulty individuals.

Features :    



Examples – 

Commit a transaction in a database, State machine replication, Clock synchronization.

How to achieve distributed consensus :

There are some conditions that need to be followed in order to achieve distributed consensus.

Here is one validation criterion, So basically we should reach a decision with a value that must be the initial value of some process because it is silly to reach an agreement when the agreed value reflects nobody’s initial choice.

The correctness of Distributed Consensus Protocol :   

It can be described by the following two properties as follows.

Application of Distributed Consensus :    

 

Article Tags :