https://github.com/bluele/rkvs
simple raft-based kvs
https://github.com/bluele/rkvs
grpc kvs raft
Last synced: 2 months ago
JSON representation
simple raft-based kvs
- Host: GitHub
- URL: https://github.com/bluele/rkvs
- Owner: bluele
- License: other
- Created: 2019-02-18T14:04:07.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-19T15:03:11.000Z (over 6 years ago)
- Last Synced: 2025-06-14T22:43:50.788Z (4 months ago)
- Topics: grpc, kvs, raft
- Language: Go
- Size: 23.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rkvs
## Build
```
$ dep ensure
$ make build
```## Getting Started
First create a new cluster.
```
$ ./build/rkvs start --id=first --address=127.0.0.1:10000 --bootstrap=true
# In another terminal
$ ./build/rkvs start --id=second --address=127.0.0.1:10001 --join=first@127.0.0.1:10000
```After creating the cluster, you can execute client commands.
```
$ ./build/rkvs servers
suffrage=0 id=first address=127.0.0.1:10000
suffrage=0 id=second address=127.0.0.1:10001
$ ./build/rkvs kvs write key1 value1
$ ./build/rkvs kvs read key1
value1
```## Author
**Jun Kimura**
*
*