A solution for Fly.io Gossip Glomers challenges
- Clone this repo
- Install maelstrom from https://github.com/jepsen-io/maelstrom
- Run the commands from below to test each solution
- Run
./maelstrom/maelstrom serve
to inspect the output of each solution
./maelstrom/maelstrom test -w echo --bin target/debug/basic_node --node-count 1 --time-limit 10
./maelstrom/maelstrom test -w unique-ids --bin target/debug/basic_node --time-limit 30 --rate 1000 --node-count 3 --availability total --nemesis partition
./maelstrom/maelstrom test -w broadcast --bin target/debug/broadcast_node --node-count 1 --time-limit 20 --rate 10
./maelstrom/maelstrom test -w broadcast --bin target/debug/broadcast_node --node-count 5 --time-limit 20 --rate 10
./maelstrom/maelstrom test -w broadcast --bin target/debug/broadcast_node --node-count 5 --time-limit 20 --rate 10 --nemesis partition
Adjust sleep duration at src/bin/broadcast_node.rs:92
./maelstrom/maelstrom test -w broadcast --bin target/debug/broadcast_node --node-count 25 --time-limit 20 --rate 100 --latency 100