Raft共识协议的Golang实现-Golang开发

上传者: 42112685 | 上传时间: 2022-06-14 19:08:21 | 文件大小: 161KB | 文件类型: ZIP
raft raft是一个Go库,它管理复制的日志,并且可以与FSM一起使用以管理复制的状态机。 它是一个用于提供共识的库。 这种库的用例范围很广,例如repli raft raft是Go库,它管理复制的日志,并且可以与FSM一起使用以管理复制的状态机。 它是一个用于提供共识的库。 这种库的用例范围很广,例如复制状态机是许多分布式系统的关键组成部分。 它们使构建一致的,分区容错(CP)的系统也具有有限的容错能力。 构建如果要构建木筏,则需要安装Go 1.2+版本。 请检查一下

文件下载

资源详情

[{"title":"( 73 个子文件 161KB ) Raft共识协议的Golang实现-Golang开发","children":[{"title":"raft-main","children":[{"title":"peersjson.go <span style='color:#111;'> 2.78KB </span>","children":null,"spread":false},{"title":"inmem_transport.go <span style='color:#111;'> 8.73KB </span>","children":null,"spread":false},{"title":"commitment_test.go <span style='color:#111;'> 5.86KB </span>","children":null,"spread":false},{"title":"file_snapshot.go <span style='color:#111;'> 13.08KB </span>","children":null,"spread":false},{"title":"go.mod <span style='color:#111;'> 233B </span>","children":null,"spread":false},{"title":"transport_test.go <span style='color:#111;'> 6.84KB </span>","children":null,"spread":false},{"title":"util_test.go <span style='color:#111;'> 2.74KB </span>","children":null,"spread":false},{"title":".github","children":[{"title":"stale.yml <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false}],"spread":true},{"title":"peersjson_test.go <span style='color:#111;'> 2.98KB </span>","children":null,"spread":false},{"title":"inmem_snapshot_test.go <span style='color:#111;'> 3.99KB </span>","children":null,"spread":false},{"title":"net_transport_test.go <span style='color:#111;'> 18.78KB </span>","children":null,"spread":false},{"title":"transport.go <span style='color:#111;'> 4.68KB </span>","children":null,"spread":false},{"title":"net_transport.go <span style='color:#111;'> 19.35KB </span>","children":null,"spread":false},{"title":"go.sum <span style='color:#111;'> 3.72KB </span>","children":null,"spread":false},{"title":"log_cache_test.go <span style='color:#111;'> 2.70KB </span>","children":null,"spread":false},{"title":"fsm.go <span style='color:#111;'> 6.89KB </span>","children":null,"spread":false},{"title":"log_cache.go <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false},{"title":"inmem_store.go <span style='color:#111;'> 2.76KB </span>","children":null,"spread":false},{"title":"testing_batch.go <span style='color:#111;'> 598B </span>","children":null,"spread":false},{"title":"log.go <span style='color:#111;'> 5.54KB </span>","children":null,"spread":false},{"title":"fuzzy","children":[{"title":"leadershiptransfer_test.go <span style='color:#111;'> 2.01KB </span>","children":null,"spread":false},{"title":"go.mod <span style='color:#111;'> 392B </span>","children":null,"spread":false},{"title":"cluster.go <span style='color:#111;'> 11.38KB </span>","children":null,"spread":false},{"title":"transport.go <span style='color:#111;'> 8.87KB </span>","children":null,"spread":false},{"title":"go.sum <span style='color:#111;'> 6.51KB </span>","children":null,"spread":false},{"title":"fsm.go <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false},{"title":"slowvoter_test.go <span style='color:#111;'> 2.39KB </span>","children":null,"spread":false},{"title":"simple_test.go <span style='color:#111;'> 481B </span>","children":null,"spread":false},{"title":"apply_src.go <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"fsm_batch.go <span style='color:#111;'> 357B </span>","children":null,"spread":false},{"title":"membership_test.go <span style='color:#111;'> 3.49KB </span>","children":null,"spread":false},{"title":"readme.md <span style='color:#111;'> 2.70KB </span>","children":null,"spread":false},{"title":"verifier.go <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false},{"title":"resolve.go <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"node.go <span style='color:#111;'> 1.94KB </span>","children":null,"spread":false},{"title":"partition_test.go <span style='color:#111;'> 3.47KB </span>","children":null,"spread":false}],"spread":false},{"title":"discard_snapshot_test.go <span style='color:#111;'> 426B </span>","children":null,"spread":false},{"title":"bench","children":[{"title":"bench.go <span style='color:#111;'> 4.32KB </span>","children":null,"spread":false}],"spread":false},{"title":".circleci","children":[{"title":"config.yml <span style='color:#111;'> 2.18KB </span>","children":null,"spread":false}],"spread":false},{"title":"log_test.go <span style='color:#111;'> 3.08KB </span>","children":null,"spread":false},{"title":"observer.go <span style='color:#111;'> 3.90KB </span>","children":null,"spread":false},{"title":"configuration_test.go <span style='color:#111;'> 9.04KB </span>","children":null,"spread":false},{"title":"integ_test.go <span style='color:#111;'> 8.69KB </span>","children":null,"spread":false},{"title":"util.go <span style='color:#111;'> 3.34KB </span>","children":null,"spread":false},{"title":"tcp_transport.go <span style='color:#111;'> 3.05KB </span>","children":null,"spread":false},{"title":"tag.sh <span style='color:#111;'> 397B </span>","children":null,"spread":false},{"title":".travis.yml <span style='color:#111;'> 548B </span>","children":null,"spread":false},{"title":"future_test.go <span style='color:#111;'> 923B </span>","children":null,"spread":false},{"title":"configuration.go <span style='color:#111;'> 11.77KB </span>","children":null,"spread":false},{"title":".golangci-lint.yml <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 15.60KB </span>","children":null,"spread":false},{"title":"membership.md <span style='color:#111;'> 6.95KB </span>","children":null,"spread":false},{"title":"raft.go <span style='color:#111;'> 54.78KB </span>","children":null,"spread":false},{"title":"future.go <span style='color:#111;'> 7.46KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 5.71KB </span>","children":null,"spread":false},{"title":"snapshot.go <span style='color:#111;'> 7.69KB </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"testing.go <span style='color:#111;'> 21.16KB </span>","children":null,"spread":false},{"title":"inmem_snapshot.go <span style='color:#111;'> 2.70KB </span>","children":null,"spread":false},{"title":"replication.go <span style='color:#111;'> 18.94KB </span>","children":null,"spread":false},{"title":"commands.go <span style='color:#111;'> 4.33KB </span>","children":null,"spread":false},{"title":"stable.go <span style='color:#111;'> 443B </span>","children":null,"spread":false},{"title":"inmem_transport_test.go <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false},{"title":"state.go <span style='color:#111;'> 3.78KB </span>","children":null,"spread":false},{"title":"tcp_transport_test.go <span style='color:#111;'> 928B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 259B </span>","children":null,"spread":false},{"title":"commitment.go <span style='color:#111;'> 3.18KB </span>","children":null,"spread":false},{"title":"api.go <span style='color:#111;'> 40.19KB </span>","children":null,"spread":false},{"title":"CHANGELOG.md <span style='color:#111;'> 6.01KB </span>","children":null,"spread":false},{"title":"raft_test.go <span style='color:#111;'> 62.08KB </span>","children":null,"spread":false},{"title":"file_snapshot_test.go <span style='color:#111;'> 7.39KB </span>","children":null,"spread":false},{"title":"config.go <span style='color:#111;'> 14.58KB </span>","children":null,"spread":false},{"title":"discard_snapshot.go <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明