Skip to content

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

Notifications You must be signed in to change notification settings

Divya063/distributedKV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages