Open 0XFF-96 opened 4 years ago
一开始上来就直接撸,可能效果不太好。需要了解更多细节作为基础。 github.com/IvanProdaiko94/raft-protocol-implementation。
1、codedump.info/post/20180922-etcd-raft/
2、etcd raft 库解析, codedump.info/post/20180922-etcd-raft/ 。
3、raft 论文导读和 etcd 源码库解析, https://hardcore.feishu.cn/docs/doccnMRVFcMWn1zsEYBrbsDf8De#
4、etcd-raft 相关算法, https://blog.betacat.io/post/raft-implementation-in-etcd/ 。
5、hashcrop/raft 相关算法。
Definition: Raft is a protocol for implementing distributed consensus.
Consensus is a fundamental problem in fault-tolerant distributed systems. Consensus involves multiple servers agreeing on values
Each state machine processes the same series of commands and thus produces the same series of results and arrives at the same series of states
1、 Step 方法, 数据流转的中心。
func (r *raft) Step(m pb.Message) error
其他相关概念
其他 DB
什么是 LSTM 树?
B+ 树
REFERENCE