4 ms·
I think hoverbear has a raft crate: https://github.com/Hoverbear/raft-rs https://github.com/Hoverbear/raft-rs
by viperscape 11y ago
I think hoverbear has a raft crate: https://github.com/Hoverbear/raft-rs https://github.com/Hoverbear/raft-rs
- bluejekyll 11y agoYes, I was just wondering why they didn't use that? I reviewed that raft implementation. Looks decent and uses mio for non-blocking io, which was quite clean (I'm jealous).
- justinsb 11y agoMost raft implementation don't implement dynamic reconfiguration or snapshots/compaction. AFAICT hoverbear implements neither, and Tikv implements at least snapshots.
- bluejekyll 11y agoYou're right. And thanks for the pointer on this implementing snapshots.
- hoverbear 11y agoHi! Thanks for linking this! We're hoping to add more robust features like dynamic membership soon! I'm graduating and will have more time. If you feel like hacking on our code please just let us know, we'd love to help.