Also Raft is susceptible to extra leader flapping than some other consensus algorithms. That’s not the consensus algorithm I would choose for leader election for a primary datastore where you value correctness and uptime.
5
1
8
Replying to @kellabyte
Which one would you choose?

Jun 20, 2018 · 10:07 PM UTC

3
1
Replying to @stilkov
I haven’t fully understood the full post yet but for the pure need of selecting a primary I would use a paxos variant (so many!) that aligns with those tradeoffs. You don’t really need something that is trading off some things for throughput.
1
3
Replying to @stilkov
It’s important to remember, Raft was created to be easier to understand and easier to implement. It makes tradeoffs for understandability. This is both good and bad. It means making a pretty good raft library is more accessible to more people.
2
Replying to @stilkov
But it means creating a really great Raft library can still suffer from less reliability than a really great Paxos library for example because of those tradeoffs.
1
1