2.2.4.1 Raft

Raft #

https://raft.github.io

由于 Paxos 难以理解,所以才有了 Raft

Raft 以可理解性和易于实现为目标:

  • Leader 选举(Leader election)
  • 日志同步(Log replication)
  • 安全性(Safety)
  • 日志压缩(Log compaction)
  • 成员变更(Membership change)

教程 #

maemual/raft-zh_cn

Github stars #


关注 #

baidu/braft

Github stars #

tikv/raft-rs

Github stars #

Raft distributed consensus algorithm implemented in Rust.

hashicorp/raft

Github stars #

Golang implementation of the Raft consensus protocol

etcd-io/etcd Github stars

Go version #

Distributed reliable key-value store for the most critical data of a distributed system