STARRY: Multi-master Transaction Processing on Semi-leader Architecture
Zihao Zhang, Huiqi Hu, Xuan Zhou, Jiang Wang
Abstract
Multi-master architecture is desirable for cloud databases in supporting large-scale transaction processing. To enable concurrent transaction execution on multiple computing nodes, we need an efficient transaction commit protocol on the storage layer that ensures ACID as well as consensus among replicas. A leader-based protocol is easy to implement. However, it faces the single-node bottleneck and suffers from high transaction latency in cross-region deployment. While a leaderless protocol can achieve a higher degree of parallelism, it is inefficient in resolving conflicts. This paper proposes the semi-leader protocol, which is a new type of transaction commit protocol for multi-master transaction processing. In a nutshell, the semi-leader protocol is a hybrid protocol that offers separate commit paths for conflicting transactions and non-conflicting transactions. A centralized node, known as the sequencer, is employed to perform precise conflict resolution for conflicting transactions, while non-conflicting transactions can be committed timely in a decentralized manner. Based on the semi-leader protocol, we designed Starry, a multi-master transaction processing mechanism. Experimental results demonstrate that Starry is 1.4× and 4.21× as performant as the leaderless and leader-based protocols respectively in throughput. When dealing with high-contention workloads, Starry can significantly reduce the abort rates.
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 f1ffe76f-bec7-4cbf-afc4-4fe18ee314a0Cited by top-tier papers6
- Caerus: Low-Latency Distributed Transactions for Geo-Replicated SystemsJoshua Hildred, Michael Abebe, Khuzaima DaudjeeVLDB 2024 · 10 citations
- Mako: Speculative Distributed Transactions with Geo-ReplicationWeihai Shen, Yang Cui, Siddhartha Sen, Sebastian Angel et al.OSDI 2025 · 4 citations
- Styx: Transactional Stateful Functions on Streaming DataflowsKyriakos Psarakis, George Christodoulou, Georgios Siachamis, Marios Fragkoulis et al.SIGMOD 2025 · 3 citations
- Fast Commitment for Geo-Distributed Transactions via Decentralized Co-coordinatorsZihao Zhang, Huiqi Hu, Xuan Zhou, Yaofeng Tu et al.VLDB 2024 · 3 citations
- Chimera: Mitigating Ownership Transfers in Multi-Primary Shared-Storage Cloud-Native DatabasesHuang Chunyue, Shuang Liu, Xinyi Zhang, Wenhao Li et al.VLDB 2025 · 1 citation
Builds on2
Related papers
- 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
- MTC: Scalable Transaction Commit for Multi-Primary Cloud DatabasesKecheng Luo, Xiaoxian Wei, Wenxin Liu, Peng Cai et al.ICDE 2026
- DynaMast: Adaptive Dynamic Mastering for Replicated SystemsMichael Abebe, Brad Glasbergen, Khuzaima DaudjeeICDE 2020 · 14 citations
- Epoch-based Optimistic Concurrency Control in Geo-replicated DatabasesYunhao Mao, Harunari Takata, Michail Bachras, Yuqiu Zhang et al.SIGMOD 2026
- Moving on From Group Commit: Autonomous Commit Enables High Throughput and Low Latency on NVMe SSDsLam-Duy Nguyen, Adnan Alhomssi, Tobias Ziegler, Viktor LeisSIGMOD 2025 · 3 citations
