Divya063/distributedKV

A distributed key-value store in rust built on top of Raft consensus algorithm

★ 5Forks 0RustGitHub ↗Compare
kv-storeraftrust

README

distributedKV

A distributed key value store built on top of Raft consensus algorithm.

Getting Started

Add a key:

curl -X POST 'localhost:9023/put' -d '{"key": "x", "value": "23"}' -H 'content-type: application/json'

Get the key:

curl 'localhost:9023/get?key=x'

Add a follower node:

curl 'localhost:9023/join?id=2'

Remove a node:

curl 'localhost:9023/leave?id=2'

TODO

  • Implement Graceful Shutdown

Contributors

Divya063

Issues