Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/indiv0/castaway
An implementation of the Raft distributed consensus algorithm in Rust
https://github.com/indiv0/castaway
Last synced: 15 days ago
JSON representation
An implementation of the Raft distributed consensus algorithm in Rust
- Host: GitHub
- URL: https://github.com/indiv0/castaway
- Owner: indiv0
- Created: 2018-09-10T17:41:21.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-16T06:42:56.000Z (about 6 years ago)
- Last Synced: 2024-10-29T19:04:36.917Z (2 months ago)
- Language: Rust
- Size: 159 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# castaway
## Development
Build the docker container:
docker build . -t castaway:latest
Run a single build:
docker run --rm \
-v "$PWD":/usr/src/castaway \
-w /usr/src/castaway \
castaway:latest \
cargo build --releaseOpen a development container:
docker run --rm -it \
-v "$PWD":/usr/src/castaway \
-w /usr/src/castaway \
castaway:latest \
/bin/bashRun an instance of castaway:
cargo run -- --tls
Run the docker container:
docker run --rm castaway:latest
To launch a cluster of containers locally:
docker-compose up --build
## Credits
* Raft interface inspired by [willemt/raft][willemt-raft]
[willemt-raft]: https://github.com/willemt/raft