Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dinowernli/concord
A distributed key-value store in Rust
https://github.com/dinowernli/concord
Last synced: 9 days ago
JSON representation
A distributed key-value store in Rust
- Host: GitHub
- URL: https://github.com/dinowernli/concord
- Owner: dinowernli
- License: apache-2.0
- Created: 2020-07-26T20:52:29.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-06-16T18:53:52.000Z (7 months ago)
- Last Synced: 2024-11-12T22:37:35.269Z (2 months ago)
- Language: Rust
- Size: 260 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Concord
A distributed key-value store in Rust:
* Comes with a grpc-based implementation of Raft.
* Designed to have no external dependencies.
* Uses the Raft library to implement a key-value store.
* Currently a work in progress.## Run
The main binary starts a cluster with 3 peers and then kicks off multiple periodic actions:
* One thread keeps issuing new commit operations
* One thread keeps asking the leader to step down
* One thread analyzes the history of cluster events in the search of bugsTo run, execute:
```
> cargo run
```## Test
Standard rust unit tests:
```
> cargo test
```