View on GitHub

时光粒子源码

分布式一致性/分布式存储等开源技术探讨, GitHub:https://github.com/timequark

Raft

基于raftos (python),对raft原理方法进行源代码解读。

在源码分析前,强烈建议小伙伴先去raft.github.io上了解raft的工作原理,特别是要阅读raft白皮书

了解raft原理的好处、目的是,更好的理解raft源码,不至于非常吃力~

Raft源码分析(一) - State

Raft源码分析(二) - Role转换

Raft源码分析(三) - commit提交状态跟踪

Raft源码分析(四) - next_index&match_index