Skip to content

A RAFT implementation to help build your RAFT service in 1 minute.

Notifications You must be signed in to change notification settings

purecpp-org/raftcpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8f0c032 · Apr 6, 2023
May 23, 2022
Jul 24, 2022
Nov 21, 2019
Jun 19, 2022
Apr 6, 2023
Apr 6, 2023
Apr 6, 2023
Apr 6, 2023
May 23, 2022
Aug 30, 2020
Apr 6, 2023
Jun 14, 2022
May 23, 2022
May 23, 2022
May 23, 2022
Aug 28, 2020
Aug 27, 2020

Repository files navigation

raftcpp

A RAFT implementation to help build your RAFT service in 1 minute.
[Note that this project is now WORKING IN PROGRESS. We are going to release 0.1.0 soon.]

Main dependencies

  • bazel: for building tool
  • asio: for asynchronous eventloop and IO
  • grpc: for RPC framework
  • protobuf: for serialization framework
  • gtest: for test framework
  • spdlog: for logging tool
  • gflags: for command line tool

Quick Start

Install Building Tool

We are now using bazel 5.1.1 for building raftcpp project, please make sure you have installed bazel. If you don't have installed it, you could install it via the following command:

./scripts/install-bazel.sh

Build

bazel build //:all

Test

bazel test //:all

or test one specific test case in following command:

bazel test //:xxxx_test

Get Involved

Because this project is working in progress now, we are very welcome you if you have the willing to contribute any thing.

  1. Open issue to feedback issues or create pull request for your code changes.
  2. After your code changed, maybe a unit test is necessary.
  3. Run ./scripts/code-format.sh to format your code style.
  4. Review, then merge.

About

A RAFT implementation to help build your RAFT service in 1 minute.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published