Check out the following links for more information: The repository for SwarmKit: https://github.com/docker/swarmkit The Raft consensus algorithm: https://raft.github.io/