clak

Crates.ioclak
lib.rsclak
version0.1.0
created_at2024-12-19 10:21:16.722131+00
updated_at2024-12-19 10:21:16.722131+00
descriptionMinimal Rust implementation of SWIM group membership protocol
homepage
repository
max_upload_size
id1488990
size46,164
Olexander Yermakov (alexyer)

documentation

README

Clak

Minimal Rust implementation of SWIM group membership protocol.

Examples

Create cluster:

HOST=127.0.0.1 PORT=4242 RUST_LOG=info cargo run --example basic  

Join cluster:

HOST=127.0.0.1 PORT=4243 JOIN_HOST=127.0.0.1 JOIN_PORT=4242 RUST_LOG=info cargo run --example basic

Subscribe to events:

HOST=127.0.0.1 PORT=4244 JOIN_HOST=127.0.0.1 JOIN_PORT=4242 cargo run --example subscription
Commit count: 0

cargo fmt