Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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 bugs

To run, execute:

```
> cargo run
```

## Test

Standard rust unit tests:

```
> cargo test
```