jgroups-raftJGroups 的 Raft 實(shí)現(xiàn)
jgroups-raft 項(xiàng)目是 JGroups 框架對(duì) Raft 的實(shí)現(xiàn)。
Maven:
<groupId>org.jgroups</groupId> <artifactId>jgroups-raft</artifactId> <version>0.2</version>
Raft 是一個(gè)容易理解的共識(shí)算法。在容錯(cuò)和性能方面它相當(dāng)于 Paxos(Google 的一致性算法)。所不同的是,它的分解為相對(duì)獨(dú)立的子問題,和它干凈地處理所有實(shí)用的系統(tǒng)所需的主要部分。我們希望 Raft 將使共識(shí)可用于更廣泛的受眾,而這廣泛的觀眾將能夠開發(fā)各種高質(zhì)量的一致同意的系統(tǒng)。
Raft is a consensus algorithm that is designed to be easy to understand. It's equivalent to Paxos in fault-tolerance and performance. The difference is that it's decomposed into relatively independent subproblems, and it cleanly addresses all major pieces needed for practical systems. We hope Raft will make consensus available to a wider audience, and that this wider audience will be able to develop a variety of higher quality consensus-based systems than are available today.
