CRaft: An Erasure-coding-supported Version of Raft for Reducing Storage Cost and Network Cost
Zizhong Wang, Tongliang Li, Haixia Wang, Airan Shao, Yunren Bai, Shangming Cai, Zihan Xu, Dongsheng Wang
Abstract
Consensus protocols can provide highly reliable and available distributed services. In these protocols, log entries are completely replicated to all servers. This complete-entry replication causes high storage and network costs, which harms performance.
Erasure coding is a common technique to reduce storage and network costs while keeping the same fault tolerance ability. If the complete-entry replication in consensus protocols can be replaced with an erasure coding replication, storage and network costs can be greatly reduced. RS-Paxos is the first consensus protocol to support erasure-coded data, but it has much poorer availability compared to commonly used consensus protocols, like Paxos and Raft. We point out RS-Paxos's liveness problem and try to solve it. Based on Raft, we present a new protocol, CRaft. Providing two different replication methods, CRaft can use erasure coding to save storage and network costs like RS-Paxos, while it also keeps the same liveness as Raft.
To demonstrate the benefits of our protocols, we built a key-value store based on CRaft, and evaluated it. In our experiments, CRaft could save 66% of storage, reach a 250% improvement on write throughput and reduce 60.8% of write latency compared to original Raft.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 2da09411-8c48-4ba0-a583-ae176d9fce7eCited by top-tier papers4
- Non-Blocking Raft for High Throughput IoT DataTian Jiang, Xiangdong Huang, Shaoxu Song, Chen Wang et al.ICDE 2023 · 12 citations
- QuePaxa: Escaping the tyranny of timeouts in consensusPasindu Tennage, Cristina Basescu, Lefteris Kokoris-Kogias, Ewa Syta et al.SOSP 2023 · 7 citations
- MassBFT: Fast and Scalable Geo-Distributed Byzantine Fault-Tolerant ConsensusZeshun Peng, Yanfeng Zhang, Tinghao Feng, Weixing Zhou et al.ICDE 2025 · 1 citation
- Pineapple: Unifying Multi-Paxos and Atomic Shared RegistersTigran Bantikyan, Jonathan Zarnstorff, Te-Yen Chou, Lewis Tseng et al.NSDI 2025 · 1 citation
Related papers
- ELECT: Enabling Erasure Coding Tiering for LSM-tree-based StorageYanjing Ren, Yuanming Ren, Xiaolu Li, Yuchong Hu et al.FAST 2024 · 18 citations
- Nezha: A Key-Value Separated Distributed Store with Optimized Raft IntegrationYangyang Wang, Yucong Dong, Ziqian Cheng, Zichen XuICDE 2026
- Near-Optimal Latency Versus Cost Tradeoffs in Geo-Distributed StorageMuhammed Uluyol, Anthony Huang, Ayush Goel, Mosharaf Chowdhury et al.NSDI 2020 · 40 citations
- Stripeless Data Placement for Erasure-Coded In-Memory StorageJian Gao, Jiwu Shu, Bin Yan, Yuhao Zhang et al.OSDI 2025
- Integrating 2PC with Consensus for Fast ReplicationYan Chen, Xinyi Yu, Shengyun Liu, Ruofan Xiong et al.SIGCOMM 2026
