There are three main role
- server, basic nosql database, set value and get value
- cluster, component which use raft consensus to achieve high availability and data consensus
- client, use to connect cluster or server
For more detail, please glance My Paper
cd src && make all
#config the cluster configuration
vi src/cabinet.conf.template
#start all cluster node and server node
src/control-cluster.sh start
#use client to connect the cluster or server node
src/cabinet-cli port-of-server-of-cluster
#stop cluster to test consensus
src/control-cluster.sh stop cluster-id-to-stop
This is my undergraduate final paper project
Thx for the trust and support from my mentor professor WangPW