Skip to main navigation Skip to search Skip to main content

Mako: Speculative Distributed Transactions with Geo-Replication

  • Weihai Shen
  • , Yang Cui
  • , Siddhartha Sen
  • , Sebastian Angel
  • , Shuai Mu
  • Stony Brook University
  • Alphabet Inc.
  • Microsoft USA
  • University of Pennsylvania

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

1 Scopus citations

Abstract

This paper introduces Mako, a highly available, high-throughput, 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.

Original languageEnglish
Title of host publicationProceedings of the 19th USENIX Symposium on Operating Systems Design and Implementation, OSDI 2025
PublisherUSENIX Association
Pages129-152
Number of pages24
ISBN (Electronic)9781939133472
StatePublished - 2025
Event19th USENIX Symposium on Operating Systems Design and Implementation, OSDI 2025 - Boston, United States
Duration: Jul 7 2025Jul 9 2025

Publication series

NameProceedings of the 19th USENIX Symposium on Operating Systems Design and Implementation, OSDI 2025

Conference

Conference19th USENIX Symposium on Operating Systems Design and Implementation, OSDI 2025
Country/TerritoryUnited States
CityBoston
Period07/7/2507/9/25

Fingerprint

Dive into the research topics of 'Mako: Speculative Distributed Transactions with Geo-Replication'. Together they form a unique fingerprint.

Cite this