RAFT consensus algorithm implementation
Project description
raftnode
RAFT consensus algorithm implementation
Free software: MIT license
Documentation: https://raftnode.readthedocs.io.
What is raftnode?
raftnode is a fault tolerant distributed metastore based on RAFT consensus algorithm. It supports storing data in-memory and storing data in rocksdb database
Installation
By default, raftnode stores the data in memory. To install the vanilla version, follow these steps:
pip install raftnode
A persistent database can be used instead of the in-memory data storage. By default, raftnode uses rocksdb. To install this version of raftnode, follow these instructions:
pip install raftnode[rocksdb]
Basic Usage
Use in memory data store:
raftnode --ip <MY_IP:MY_PORT> --peers <PEER1:PORT1>,<PEER2:PORT2>,...,<PEERn:PORTn>
…OR use rocksdb database:
raftnode --ip <MY_IP:MY_PORT> --peers <PEER1:PORT1>,<PEER2:PORT2>,...,<PEERn:PORTn> --store database --volume <DIRECTORY TO STORE THE DATABASE>
For detailed command line reference, click cli usage
For detailed usage, click client usage
For more detailed CLI instructions:
raftnode --help
Features
TODO
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2021-07-21)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for raftnode-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eede6c8c39206d7b2569789d7cdc92c5fa2afdb573af81718ddd50a1e82408bc |
|
MD5 | 575b581ae60bb735b04f85c74a0e9f8e |
|
BLAKE2b-256 | b7b1a0d3733048d03d8e72d6109bb19c783d69922f74f4cc122b78256722e62c |