Looking for RAFT implementation in C++ with multi-platform support?

506 views
Skip to first unread message

Mahesh Jena

unread,
Feb 17, 2017, 1:03:30 AM2/17/17
to raft-dev
Hi All,
I want to use RAFT in one of my P2P application which works across the platform (android, windows and mac).
Is there any raft library in C++ which I can use for my purpose?

I tried using "Logcabin" but currently it supports only linux and not in any other platform. Other C++ library in github are almost obsolete.
I wanted to know if there is any reliable library, which I can use directly, or I have to write it from scratch! :-)

Thanks,
- MJ

吴涛

unread,
Mar 20, 2017, 1:21:55 AM3/20/17
to raft-dev
https://github.com/neverchanje/yaraft

yaraft is a migration of etcd/raft from golang to c++11. Though it's incomplete right now... It's designed to be cross-platform, without implementation of storage and network layer.
For more information about the design of etcd/raft, see https://github.com/coreos/etcd/tree/master/raft

在 2017年2月17日星期五 UTC+8下午2:03:30,Mahesh Jena写道:
Reply all
Reply to author
Forward
0 new messages