Mako: Speculative Distributed Transactions with Geo-Replication
Weihai Shen, Yang Cui, Siddhartha Sen, Sebastian Angel, Shuai Mu
Abstract
This paper introduces Mako, a highly available, highthroughput, and horizontally scalable transactional key-value store. Mako performs strongly consistent geo-replication to maintain availability despite entire datacenter failures, uses multi-core machines for fast serializable transaction processing, and shards data to scale out. To achieve these properties, especially to overcome the overheads of distributed transactions in geo-replicated settings, Mako decouples transaction execution and replication. This enables Mako to run transactions speculatively and very fast, and replicate transactions in the background to make them fault-tolerant. The key innovation in Mako is the use of two-phase commit (2PC) speculatively to allow distributed transactions to proceed without having to wait for their decisions to be replicated, while also preventing unbounded cascading aborts if shards fail prior to the end of replication. Our experimental evaluation on Azure shows that Mako processes 3.66M TPC-C transactions per second when data is split across 10 shards, each of which runs with 24 threads. This is an 8.6× higher throughput than state-of-the-art systems optimized for geo-replication.
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 a4d3754e-9ace-405f-a605-f323b5265608Cited by top-tier papers3
- Performant Synchronization in Geo-Distributed DatabasesDuling Xu, Tong Li, Zegang Sun, Zheng Chen et al.SIGMOD 2026 · 3 citations
- Tiga: Accelerating Geo-Distributed Transactions with Synchronized ClocksJinkun Geng, Shuai Mu, Anirudh Sivaraman, Balaji PrabhakarSOSP 2025 · 2 citations
- Epoch-based Optimistic Concurrency Control in Geo-replicated DatabasesYunhao Mao, Harunari Takata, Michail Bachras, Yuqiu Zhang et al.SIGMOD 2026
Builds on29
- Xenic: SmartNIC-Accelerated Distributed TransactionsHenry N. Schuh, Weihao Liang, Ming Liu, Jacob Nelson et al.SOSP 2021 · 62 citations
- Opportunities for Optimism in Contended Main-Memory Multicore TransactionsYihe Huang, William Qian, Eddie Kohler, Barbara Liskov et al.VLDB 2020 · 60 citations
- Towards Cost-Effective and Elastic Cloud Database Deployment via Memory DisaggregationYingqiang Zhang, Chaoyi Ruan, Cheng Li, Jimmy Yang et al.VLDB 2021 · 54 citations
- Epoch-based Commit and Replication in Distributed OLTP DatabasesYi Lu, Xiangyao Yu, Lei Cao, Samuel MaddenVLDB 2021 · 52 citations
- Releasing Locks As Early As You Can: Reducing Contention of Hotspots by Violating Two-Phase LockingZhihan Guo, Kan Wu, Cong Yan, Xiangyao YuSIGMOD 2021 · 44 citations
Related papers
- Fast Commitment for Geo-Distributed Transactions via Decentralized Co-coordinatorsZihao Zhang, Huiqi Hu, Xuan Zhou, Yaofeng Tu et al.VLDB 2024 · 3 citations
- Chardonnay: Fast and General Datacenter Transactions for On-Disk DatabasesTamer Eldeeb, Xincheng Xie, Philip A. Bernstein, Asaf Cidon et al.OSDI 2023 · 12 citations
- Rolis: a software approach to efficiently replicating multi-core transactionsWeihai Shen, Ansh Khanna, Sebastian Angel, Siddhartha Sen et al.EuroSys 2022 · 1 citation
- GeoGauss: Strongly Consistent and Light-Coordinated OLTP for Geo-Replicated SQL DatabaseWeixing Zhou, Qi Peng, Zijie Zhang, Yanfeng Zhang et al.SIGMOD 2023 · 10 citations
- Achieving High Throughput and Elasticity in a Larger-than-Memory StoreChinmay Kulkarni, Badrish Chandramouli, Ryan StutsmanVLDB 2021 · 7 citations
