raft-rs icon indicating copy to clipboard operation
raft-rs copied to clipboard

RFC: support flexible Raft

Open siddontang opened this issue 6 years ago • 2 comments

Is your feature request related to a problem? Please describe.

We know that for every write in Raft, we can only apply the write to the state machine when the Raft log is committed, which means the majority of the nodes have received the Raft entry and appended to their Raft logs.

Mostly, we have three nodes, but in some critical scenario, we need to gain more high security, so we have to use more nodes like 5 or 7, but this will reduce the write performance.

Describe the solution you'd like

Inspired by https://arxiv.org/abs/1608.06696, maybe we can introduce flexible Raft. We don't need to guarantee the majority write mostly, and this can improve the performance.

siddontang avatar Feb 03 '19 02:02 siddontang

Is there an existing flexible raft tla+ specification?

windshg avatar Sep 04 '19 10:09 windshg

Is there an existing flexible raft tla+ specification?

Yes. https://github.com/fpaxos/raft.tla

gengliqi avatar Sep 23 '19 14:09 gengliqi