All Projects → tianbingJ → Trepang

tianbingJ / Trepang

Trepang is an implementation of Raft Algorithm in Go

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Trepang

Etcd
Distributed reliable key-value store for the most critical data of a distributed system
Stars: ✭ 38,238 (+34348.65%)
Mutual labels:  consensus, raft
Tikv
Distributed transactional key-value database, originally created to complement TiDB
Stars: ✭ 10,403 (+9272.07%)
Mutual labels:  consensus, raft
Dragonboat
Dragonboat is a high performance multi-group Raft consensus library in pure Go.
Stars: ✭ 3,983 (+3488.29%)
Mutual labels:  consensus, raft
FISCO-BCOS
FISCO BCOS是由微众牵头的金链盟主导研发、对外开源、安全可控的企业级金融区块链底层技术平台。 单链配置下,性能TPS可达万级。提供群组架构、并行计算、分布式存储、可插拔的共识机制、隐私保护算法、支持全链路国密算法等诸多特性。 经过多个机构、多个应用,长时间在生产环境中的实践检验,具备金融级的高性能、高可用性及高安全性。FISCO BCOS is a secure and reliable financial-grade open-source blockchain platform. The platform provides rich features including group architecture, cross-chain communication protoc…
Stars: ✭ 1,603 (+1344.14%)
Mutual labels:  raft, consensus
Hraftd
A reference use of Hashicorp's Raft implementation
Stars: ✭ 732 (+559.46%)
Mutual labels:  consensus, raft
raft-rocks
A simple database based on raft and rocksdb
Stars: ✭ 38 (-65.77%)
Mutual labels:  raft, consensus
Nuraft
C++ implementation of Raft core logic as a replication library
Stars: ✭ 428 (+285.59%)
Mutual labels:  consensus, raft
raftor
Distributed chat system built with rust
Stars: ✭ 31 (-72.07%)
Mutual labels:  raft, consensus
Copycat
A novel implementation of the Raft consensus algorithm
Stars: ✭ 551 (+396.4%)
Mutual labels:  consensus, raft
Async Raft
An implementation of the Raft distributed consensus protocol using the Tokio framework.
Stars: ✭ 510 (+359.46%)
Mutual labels:  consensus, raft
raft
raft is a golang library that provides a simple, clean, and idiomatic implementation of the Raft consensus protocol
Stars: ✭ 35 (-68.47%)
Mutual labels:  raft, consensus
Rqlite
The lightweight, distributed relational database built on SQLite
Stars: ✭ 9,147 (+8140.54%)
Mutual labels:  consensus, raft
coolbeans
Coolbeans is a distributed work queue that implements the beanstalkd protocol.
Stars: ✭ 56 (-49.55%)
Mutual labels:  raft, consensus
Floyd
A raft consensus implementation that is simply and understandable
Stars: ✭ 259 (+133.33%)
Mutual labels:  consensus, raft
little-raft
The lightest distributed consensus library. Run your own replicated state machine! ❤️
Stars: ✭ 316 (+184.68%)
Mutual labels:  raft, consensus
Raft
Raft Consensus Algorithm
Stars: ✭ 370 (+233.33%)
Mutual labels:  consensus, raft
openraft
rust raft with improvements
Stars: ✭ 826 (+644.14%)
Mutual labels:  raft, consensus
Raft-Paxos-Sample
MIT6.824实现分布式一致性算法——Raft&Paxos
Stars: ✭ 37 (-66.67%)
Mutual labels:  raft, consensus
Ratis
Open source Java implementation for Raft consensus protocol.
Stars: ✭ 443 (+299.1%)
Mutual labels:  consensus, raft
Consensus Yaraft
consensus-yaraft is a library for distributed, strong consistent, highly replicated log storage. It's based on yaraft, which is an implementation of the Raft protocol.
Stars: ✭ 30 (-72.97%)
Mutual labels:  consensus, raft

Trepang

资料

总结学习和实现Raft过程中用到的一些资料。

Raft论文

广为流传的Raft精简版论文。这篇论文主要介绍了Raft的工作原理,简单提及但没有详细介绍Cluster Membership changes和Log Compaction高级主题。

Raft算法作者ongardie的博士论文

Raft作者的博士论文,250多页,精髓在前70页,包含了精简版论文的内容,同时又详细介绍了Cluster Membership changes和Log Compaction高级主题。从70页开始,主要跟Raft实践有关:Raft的易学习性、选举超时时间评估、性能等。

Raft官网

Raft官网,汇总了一些资料,大部分都是一些其他人介绍Raft的talk,内容重复又不系统,没有太多借鉴的意义,网站下面介绍了Raft的各种实现。两个可视化工具比较有用,工具一,介绍了Raft大概工具原理,比较简单,主要了解概念。工具二,也就是Raft官网的Raft Visualization部分,模拟5个节点Raft集群的情况。可以手动操作让节点宕机、复制数据,让请求超时、丢失等,这里对于了解Raft的选举、复制机制比较有用。

Fault-Tolerant Virtual Machines

与Raft没有太大的关系,可以加深了解复制状态机模型(RSM,Replicated State Machine)模型。Raft是基于应用层的RSM,这篇文介绍了VM层面的RSM实现,通过机器指令级别的复制,一个虚拟机的状态被完整地复制到另外一台虚拟机上。最终,两台虚拟机执行一样的指令,每条指令又产生相同的结果,即使是随机函数。

MIT6.824课程

MIT的分布式课程,比较经典。读论文+实践的方式授课。先介绍了MapReduce,然后实现Raft,接着在Raft基础上实现一个分布式KV系统,实现是用go。这个课程助教写了一篇文章对于Raft实现常见的坑做了一个整理:Students' Guide to Raft

Tidb的博客

Tidb是基于Raft实现,看过几篇博客,有工程上的借鉴意义,但还没有仔细研究。

Raft Refloated: Do We Have Consensus?

Raft的一种实现,论文分析了Raft,并做了一点工程上的优化,借鉴意义不是很大。

Zookeeper

提出ZK的论文,ZK作为类似成功应用的案例,值得借鉴。

文档

Raft理解

优化

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].