Leader Election

In distributed computing, leader election is the process of designating a single process as the organizer of some task distributed among several computers (nodes). Before the task is begun, all network nodes are unaware which node will serve as the "leader," or coordinator, of the task. After a leader election algorithm has been run, however, each node throughout the network recognizes a particular, unique node as the task leader.

The network nodes communicate among themselves in order to decide which of them will get into the "leader" state. For that, they need some method in order to break the symmetry among them. For example, if each node has unique and comparable identities, then the nodes can compare their identities, and decide that the node with the highest identity is the leader.

The definition of this problem is often attributed to LeLann, who formalized it as a method to create a new token in a token ring network in which the token has been lost.

Leader election algorithms are designed to be economical in terms of total bytes transmitted, and time. The algorithm suggested by Gallager, Humblet, and Spira for general undirected graphs has had a strong impact on the design of distributed algorithms in general, and won the Dijkstra Prize for an influential paper in distributed computing.

Many other algorithms were suggested for different kind of network graphs, such as undirected rings, unidirectional rings, complete graphs, grids, directed Euler graphs, and others. A general method that decouples the issue of the graph family from the design of the leader election algorithm was suggested by Korach, Kutten, and Moran.

Famous quotes containing the words leader and/or election:

    People ask the difference between a leader and a boss.... The leader works in the open, and the boss in covert. The leader leads, and the boss drives.
    Theodore Roosevelt (1858–1919)

    The election makes me think of a story of a man who was dying. He had only two minutes to live, so he sent for a clergyman and asked him, “Where is the best place to go to?” He was undecided about it. So the minister told him that each place had its advantages—heaven for climate, and hell for society.
    Mark Twain [Samuel Langhorne Clemens] (1835–1910)