1.

What do you understand by Leader Election?

Answer»

In a distributed environment where there are multiple servers contributing to the availability of the application, there can be situations where only one server has to TAKE LEAD for updating third party APIs as different servers could cause problems while using the third party APIs. This server is called the primary server and the process of choosing this server is called leader election. The servers in the distributed environment have to DETECT when the leader server has failed and appoint another one to BECOME a leader. This process is most SUITABLE in high availability and strong consistency based applications by using a consensus algorithm.



Discussion

No Comment Found