A distributed key value store built on top of Raft consensus algorithm.
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'
- Implement Graceful Shutdown