cpp-raft:C++中的Raft共识算法实现(十一)

时间:2021-07-11 20:39:03
【文件属性】:
文件名称:cpp-raft:C++中的Raft共识算法实现(十一)
文件大小:36KB
文件格式:ZIP
更新时间:2021-07-11 20:39:03
C++ Craft.io 什么? Raft Consensus 协议的 C 实现,BSD 许可 它是如何工作的? 有关完整文档,请参阅 raft.h。 网络超出了该项目的范围。 实现者需要做所有的管道。 目前,这是通过以下方式完成的: 实现 raft_cbs_t 中的所有回调; 和 使用 .* 消息结构调用 .* 函数 依赖项 ------------ 没有依赖项,但是是测试所需。 建造 $make 去做 成员变动 日志压缩 更多场景测试(即更多样化的网络分区场景) 使用示例
【文件预览】:
cpp-raft-master
----.project(8KB)
----README.rst(761B)
----raft_node.h(326B)
----.gitmodules(212B)
----raft_msg.h(6KB)
----raft_node.cpp(441B)
----raft_server_properties.cpp(465B)
----raft.h(1KB)
----raft_private.h(621B)
----raft_server.cpp(12KB)
----CMakeLists.txt(934B)
----.idea()
--------misc.xml(193B)
--------encodings.xml(166B)
--------cpp-raft.iml(283B)
--------modules.xml(270B)
--------scopes()
--------vcs.xml(182B)
----.settings()
--------language.settings.xml(947B)
----LICENSE(1KB)
----Makefile(13KB)
----.cproject(33KB)
----state_mach.cpp(404B)
----raft_server.h(6KB)
----raft_logger.cpp(1KB)
----state_mach.h(872B)
----raft_logger.h(1KB)
----tests()
--------test_log.cpp(4KB)
--------test_server.cpp(38KB)
--------mock_send_functions.h(319B)
--------test_node.cpp(392B)
--------mock_send_functions.cpp(3KB)
--------make-tests.sh(901B)
--------test_scenario.cpp(1KB)
--------main_test.cpp(200B)
----.ycm_extra_conf.py(4KB)
----.gitignore(46B)

网友评论