Skip to content

Conversation

@pavan02
Copy link

@pavan02 pavan02 commented Jun 2, 2024

What

  • This PR introduces a Raft consensus algorithm demo implemented in Go, closely following the existing demo using Maelstrom's Ruby demo.

Bug Fix/Improvement

  • replace bufio scanner.Bytes() with reader.ReadBytes('\n') suitable for large token reads.

Testing

(cd demo/go/cmd/maelstrom-raft/ && go build) && (./maelstrom test -w lin-kv --bin demo/go/cmd/maelstrom-raft/maelstrom-raft --node-count 3 --concurrency 4n --rate 30 --time-limit 60 --nemesis partition --nemesis-interval 10 --test-count 2)

Results

image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant