Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 1.51 KB

File metadata and controls

45 lines (36 loc) · 1.51 KB

Leader Election

Motivation

Solution

Concepts

  • Elect one container as the leader for coordinating and monitoring the other containers.

Implementation

Goal of election algorithm

  • Elect only one instance as leader based on the best attribute value.
  • Let other instances know who is the leader when the election is finished.
  • The election should be initiated to re-elect a new leader when the original leader is unavailable.

Common election algorithms

  • Ring Algorithm
  • Bully Algorithm

Pros & Cons

Pros

Cons

Consideration

Topic Consideration Possible Solution Options

When To Use

References