Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/h0tk3y/dkvs

Distributed fault-tolerant key-value storage
https://github.com/h0tk3y/dkvs

Last synced: 9 days ago
JSON representation

Distributed fault-tolerant key-value storage

Awesome Lists containing this project

README

        

# DKVS
___Distributed fault-tolerant key-value storage___

This work is an application of [Multi-Paxos protocol](http://www.cs.cornell.edu/courses/cs7412/2011sp/paxos.pdf).

How to run
==========
1. Build Gradle task `installApp`;
2. Run `build/install/dkvs_node/bin/dkvs_node `, where `` is node id.

To change DKVS configuration, edit `src/main/resources/dkvs.properties`
and rebuild the project.

Client interface
====
Client may connect to any of the configured nodes, then the messages are:

`get ` ⇒ `VALUE ` or `NOT_FOUND`

`set ` ⇒ `STORED`

`delete ` ⇒ `DELETED` or `NOT_FOUND`

Assuming that `` doesn't contain whitespaces,
`` doesn't contain line breaks.