Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think everyone could benefit from extracting that raft implementation to a crate. I'll see if I can get started on that.



I think hoverbear has a raft crate: https://github.com/Hoverbear/raft-rs


Yes, 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).


Most raft implementation don't implement dynamic reconfiguration or snapshots/compaction. AFAICT hoverbear implements neither, and Tikv implements at least snapshots.


You're right. And thanks for the pointer on this implementing snapshots.


Hi! 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.


tikv's raft is a port of etcd/raft, which is used by a few projects in production. So we can expect rust raft to be mature soon.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: