An open API service indexing awesome lists of open source software.

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

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**

*
*