Leader Selection Algorithm

I study various architectures in cluster computing. Some of the popular ones are

  • Master slave
  • Rpc
  • ...

in Master-slave, the usual way is to install one machine as a master and a bunch of machines as slaves controlled by the master. One of them aroused my interest. He called Alger , who has a certain chance in choosing which of the cars will become the leader.

My question is: why would anyone choose a master machine this way? What are the advantages of this approach compared to manually selecting a machine as a leader?

+3
source share
3 answers

:

  • node , , node .
  • , (, ) , .

  • node, node, , .

  • ( ), DHCP? configs .
+10

- , . ( HPC/MPI) node .

, - , IP-. , node.

" " WCCP, - , - node .

+1

, node . , - - . , .

  • , node , . , node , . , node, , , , .

  • , , , . node, , , , . node , node, node .

So, in short, if you have a system that does not have centralized control, probably because the system must be scalable without a single point of failure, these systems use leader selection algorithms to select a node,

+1
source

Source: https://habr.com/ru/post/1785765/


All Articles