[
https://issues.apache.org/jira/browse/RATIS-2264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Andika updated RATIS-2264:
-------------------------------
Description:
This is a wish to discuss practicality and benefits of implementing Raft
extensions that aims to increase performance.
A data replication survey article
([https://transactional.blog/blog/2024-data-replication-design-spectrum#_hybrid_leaders])
highlights other variants of Raft such as Linearizable Quorum Reads,
Commutative Raft, Erasure Coded Raft.
Another notable extensions are:
* FlexiRaft: [https://www.cidrdb.org/cidr2023/papers/p83-yadav.pdf]
* ParallelRaft: Used in PolarFS
** [https://www.vldb.org/pvldb/vol11/p1849-cao.pdf]
** [https://hengxin.github.io/papers/2021-JOS-PRaft-en.pdf]
**
[https://muratbuffalo.blogspot.com/2025/03/parallelraft-out-of-order-executions-in.html]
* Using RocksDB as the Raft log
** Supported in some Raft implementations
** Previously discussed in [https://issues.apache.org/jira/browse/RATIS-1327]
* LeaseGuard
([https://muratbuffalo.blogspot.com/2025/12/leaseguard-raft-leases-done-right.html])
* Raft Consensus with Minority of Nodes: [https://padhye.org/raft-minority/]
AI outputs:
||Variant||Implementation findings||
|*Linearizable Quorum Reads*|The referenced algorithm is {*}Paxos Quorum Reads
(PQR){*}. No exact adoption confirmed in the reviewed Raft implementations.
Ordinary ReadIndex support is different.|
|*Commutative Raft*|The reference resolves to {*}CURP{*}: implemented in
[Xline|https://github.com/xline-kv/Xline], with research implementations in
Redis and RAMCloud.|
|*Erasure-coded Raft*|Research implementations include {*}CRaft{*},
[FlexRaft|https://github.com/ACS-Storage-Group/FlexRaft-Code], FlexRaft+, and
Rafture. Mainstream-library adoption remains unverified.|
|*FlexiRaft*|Implemented in [Meta’s KuduRaft/MySQL Raft
stack|https://engineering.fb.com/2023/05/16/data-infrastructure/mysql-raft-meta/].
This does not establish support in upstream Apache Kudu.|
|*ParallelRaft*|Implemented in [Alibaba
PolarFS/PolarDB|https://www.vldb.org/pvldb/vol11/p1849-cao.pdf]. Also found an
independent demonstration implementation.|
|*RocksDB Raft log*|Confirmed in {*}SOFAJRaft{*}, {*}Kommander{*}, and an
{*}OpenRaft example{*}. *TiKV* supports a legacy/optional path; *Dragonboat*
removed support in v3.4.|
|*LeaseGuard*|Implemented as a prototype in the [MongoDB Labs LogCabin
fork|https://github.com/mongodb-labs/logcabin/blob/leaseguard/README.md],
rather than established upstream LogCabin support.|
|*Minority-node consensus*|The linked finite-projective-plane proposal has no
implementation confirmed by this survey.|
I also added NuRaft’s custom quorums, MicroRaft’s improved quorums, witnesses,
learners, follower reads, MongoDB’s pull-based replication, and Meta’s proxy
replication.
was:
This is a wish to discuss practicality and benefits of implementing Raft
extensions that aims to increase performance.
A data replication survey article
([https://transactional.blog/blog/2024-data-replication-design-spectrum#_hybrid_leaders])
highlights other variants of Raft such as Linearizable Quorum Reads,
Commutative Raft, Erasure Coded Raft.
Another notable extensions are:
* FlexiRaft: [https://www.cidrdb.org/cidr2023/papers/p83-yadav.pdf]
* ParallelRaft: Used in PolarFS
** [https://www.vldb.org/pvldb/vol11/p1849-cao.pdf]
** [https://hengxin.github.io/papers/2021-JOS-PRaft-en.pdf]
**
[https://muratbuffalo.blogspot.com/2025/03/parallelraft-out-of-order-executions-in.html]
* Using RocksDB as the Raft log
** Supported in some Raft implementations
** Previously discussed in https://issues.apache.org/jira/browse/RATIS-1327
* LeaseGuard
([https://muratbuffalo.blogspot.com/2025/12/leaseguard-raft-leases-done-right.html])
* Raft Consensus with Minority of Nodes: https://padhye.org/raft-minority/
> Exploration of Raft implementations variants
> --------------------------------------------
>
> Key: RATIS-2264
> URL: https://issues.apache.org/jira/browse/RATIS-2264
> Project: Ratis
> Issue Type: Wish
> Reporter: Ivan Andika
> Priority: Major
>
> This is a wish to discuss practicality and benefits of implementing Raft
> extensions that aims to increase performance.
> A data replication survey article
> ([https://transactional.blog/blog/2024-data-replication-design-spectrum#_hybrid_leaders])
> highlights other variants of Raft such as Linearizable Quorum Reads,
> Commutative Raft, Erasure Coded Raft.
> Another notable extensions are:
> * FlexiRaft: [https://www.cidrdb.org/cidr2023/papers/p83-yadav.pdf]
> * ParallelRaft: Used in PolarFS
> ** [https://www.vldb.org/pvldb/vol11/p1849-cao.pdf]
> ** [https://hengxin.github.io/papers/2021-JOS-PRaft-en.pdf]
> **
> [https://muratbuffalo.blogspot.com/2025/03/parallelraft-out-of-order-executions-in.html]
> * Using RocksDB as the Raft log
> ** Supported in some Raft implementations
> ** Previously discussed in [https://issues.apache.org/jira/browse/RATIS-1327]
> * LeaseGuard
> ([https://muratbuffalo.blogspot.com/2025/12/leaseguard-raft-leases-done-right.html])
> * Raft Consensus with Minority of Nodes: [https://padhye.org/raft-minority/]
>
> AI outputs:
> ||Variant||Implementation findings||
> |*Linearizable Quorum Reads*|The referenced algorithm is {*}Paxos Quorum
> Reads (PQR){*}. No exact adoption confirmed in the reviewed Raft
> implementations. Ordinary ReadIndex support is different.|
> |*Commutative Raft*|The reference resolves to {*}CURP{*}: implemented in
> [Xline|https://github.com/xline-kv/Xline], with research implementations in
> Redis and RAMCloud.|
> |*Erasure-coded Raft*|Research implementations include {*}CRaft{*},
> [FlexRaft|https://github.com/ACS-Storage-Group/FlexRaft-Code], FlexRaft+, and
> Rafture. Mainstream-library adoption remains unverified.|
> |*FlexiRaft*|Implemented in [Meta’s KuduRaft/MySQL Raft
> stack|https://engineering.fb.com/2023/05/16/data-infrastructure/mysql-raft-meta/].
> This does not establish support in upstream Apache Kudu.|
> |*ParallelRaft*|Implemented in [Alibaba
> PolarFS/PolarDB|https://www.vldb.org/pvldb/vol11/p1849-cao.pdf]. Also found
> an independent demonstration implementation.|
> |*RocksDB Raft log*|Confirmed in {*}SOFAJRaft{*}, {*}Kommander{*}, and an
> {*}OpenRaft example{*}. *TiKV* supports a legacy/optional path; *Dragonboat*
> removed support in v3.4.|
> |*LeaseGuard*|Implemented as a prototype in the [MongoDB Labs LogCabin
> fork|https://github.com/mongodb-labs/logcabin/blob/leaseguard/README.md],
> rather than established upstream LogCabin support.|
> |*Minority-node consensus*|The linked finite-projective-plane proposal has no
> implementation confirmed by this survey.|
> I also added NuRaft’s custom quorums, MicroRaft’s improved quorums,
> witnesses, learners, follower reads, MongoDB’s pull-based replication, and
> Meta’s proxy replication.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)