miniraft-cpp
Raft Consensus Algorithm. Uses in-house C++20 coroutines-based library for communications. Tested with unit-tests.
File Explorer
- c-cpp.yml
- client.cpp
- CMakeLists.txt
- kv.cpp
- kv.h
- percentiles2.cpp
- server.cpp
- sql.cpp
- CMakeLists.txt
- server.cpp
- server.h
- CMakeLists.txt
- messages.cpp
- messages.h
- persist.cpp
- persist.h
- raft.cpp
- raft.h
- state.h
- timesource.h
- CMakeLists.txt
- test_raft.cpp
- test_read_write.cpp
- .gitignore
- .gitmodules
- CMakeLists.txt
- coroio
- LICENSE
- README.md
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
cmake
View Details ▼
cmake
Cross-platform build automation system, that generates recipes for native build systems.
cmake {{path/to/project_directory}}
Generate a build recipe in the current directory with `CMakeLists.txt` from a project directory:
cmake --build {{path/to/build_directory}}
Use a generated recipe in a given directory to build artifacts:
cmake --install {{path/to/build_directory}} --strip
Install the build artifacts into `/usr/local/` and strip debugging symbols:
git clone
View Details ▼
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
git submodule
View Details ▼
git submodule
Inspect, update, and manage submodules.
git submodule
View existing submodules and the checked-out commit for each one:
git submodule update --init --recursive
Install a repository's submodules (listed in `.gitmodules`):
git submodule add {{repository_url}}
Add a Git repository as a submodule of the current one:
del
View Details ▼
del
Delete one or more files.
DEL {{path/to/file}}
Delete a file:
DEL {{path/to/*.ext}}
Delete all files matching a pattern:
