Rolis: a software approach to efficiently replicating multi-core transactions
Weihai Shen, Ansh Khanna, Sebastian Angel, Siddhartha Sen, Shuai Mu
Abstract
This paper presents Rolis, a new speedy and fault-tolerant replicated multi-core transactional database system. Rolis's aim is to mask the high cost of replication by ensuring that cores are always doing useful work and not waiting for each other or for other replicas. Rolis achieves this by not mixing the multi-core concurrency control with multi-machine replication, as is traditionally done by systems that use Paxos to replicate the transaction commit protocol. Instead, Rolis takes an "execute-replicate-replay" approach. Rolis first speculatively executes the transaction on the leader machine, and then replicates the per-thread transaction log to the followers using a novel protocol that leverages independent Paxos instances to avoid coordination, while still allowing followers to safely replay. The execution, replication, and replay are carefully designed to be scalable and have nearly zero coordination overhead across cores. Our evaluation shows that Rolis can achieve 1.03M TPS (transactions per second) on the TPC-C workload, using a 3-replica setup where each server has 32 cores. This throughput result is orders of magnitude higher than traditional software approaches we tested (e.g., 2PL), and is comparable to state-of-the-art, fault-tolerant, in-memory storage systems built using kernel bypass and advanced networking hardware, even though Rolis runs on commodity machines.
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 06eb9518-4125-4752-8b31-3fef486e9c83Cited by top-tier papers8
- Nimble: Rollback Protection for Confidential Cloud ServicesSebastian Angel, Aditya Basu, Weidong Cui, Trent Jaeger et al.OSDI 2023 · 28 citations
- Hamilton: A High-Performance Transaction Processor for Central Bank Digital CurrenciesJames Lovejoy, Madars Virza, Cory Fields, Kevin Karwaski et al.NSDI 2023 · 25 citations
- Viper: A Fast Snapshot Isolation CheckerJian Zhang, Ye Ji, Shuai Mu, Cheng TanEuroSys 2023 · 11 citations
- Vegeta: Enabling Parallel Smart Contract Execution in Leaderless BlockchainsTianjing Xu, Yongqi Zhong, Yiming Zhang, Ruofan Xiong et al.NSDI 2025 · 9 citations
- Massively Parallel Multi-Versioned Transaction ProcessingShujian Qian, Ashvin GoelOSDI 2024 · 5 citations
Builds on7
- Harmonia: Near-Linear Scalability for Replicated Storage with In-Network Conflict DetectionHang Zhu, Zhihao Bai, Jialin Li, Ellis Michael et al.VLDB 2020 · 58 citations
- State-machine replication for planet-scale systemsVitor Enes, Carlos Baquero, Tuanir França Rezende, Alexey Gotsman et al.EuroSys 2020 · 41 citations
- Fault-Tolerant Replication with Pull-Based Consensus in MongoDBSiyuan Zhou, Shuai MuNSDI 2021 · 38 citations
- Zen: a High-Throughput Log-Free OLTP Engine for Non-Volatile Main MemoryGang Liu, Leying Chen, Shimin ChenVLDB 2021 · 31 citations
- Gryff: Unifying Consensus and Shared RegistersMatthew Burke, Audrey Cheng, Wyatt LloydNSDI 2020 · 29 citations
Related papers
- Mako: Speculative Distributed Transactions with Geo-ReplicationWeihai Shen, Yang Cui, Siddhartha Sen, Sebastian Angel et al.OSDI 2025 · 4 citations
- Epoch-based Optimistic Concurrency Control in Geo-replicated DatabasesYunhao Mao, Harunari Takata, Michail Bachras, Yuqiu Zhang et al.SIGMOD 2026
- Knock Out 2PC with Practicality Intact: a High-performance and General Distributed Transaction ProtocolZiliang Lai, Hua Fan, Wenchao Zhou, Zhanfeng Ma et al.ICDE 2023 · 6 citations
- Aria: A Fast and Practical Deterministic OLTP DatabaseYi Lu, Xiangyao Yu, Lei Cao, Samuel MaddenVLDB 2020
- ScaleDB: A Scalable, Asynchronous In-Memory DatabaseSyed Akbar Mehdi, Deukyeon Hwang, Simon Peter, Lorenzo AlvisiOSDI 2023 · 3 citations
