GithubHelp home page GithubHelp logo

wp19991 / raftcpp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from purecpp-org/raftcpp

0.0 0.0 0.0 296 KB

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

Shell 5.28% C++ 70.78% Python 17.43% Starlark 6.51%

raftcpp's Introduction

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.

raftcpp's People

Contributors

jovany-wang avatar bryainzhang avatar qicosmos avatar xzhangxian1008 avatar tianyime avatar zhangdexin avatar 20083017 avatar wxing2008666 avatar devillove084 avatar kairbon avatar praying avatar mxmcarl avatar wp19991 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.