Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/h0tk3y/dkvs
- Owner: h0tk3y
- Created: 2015-05-15T00:03:52.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-01T21:54:52.000Z (over 9 years ago)
- Last Synced: 2024-10-08T13:09:32.938Z (30 days ago)
- Language: Kotlin
- Size: 270 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.