GeoTP: Latency-Aware Geo-Distributed Transaction Processing in Database Middlewares
Qiyu Zhuang, Xinyue Shi, Shuang Liu, Wei Lu, Zhanhao Zhao, Yuxing Chen, Tong Li, Anqun Pan, Xiaoyong Du
Abstract
The widespread adoption of database middleware for supporting distributed transaction processing is prevalent in numerous applications, with heterogeneous data sources deployed across national and international boundaries. However, transaction processing performance significantly drops due to the high network latency between the middleware and data sources and the long lock contention span, where transactions may be blocked while waiting for the locks held by concurrent transactions. In this paper, we propose GeoTP, a latency-aware geo-distributed transaction processing approach in database middleware. GeoTP incorporates three key techniques to enhance performance in geo-distributed scenarios. First, we propose a decentralized prepare mechanism to reduce network round-trips for distributed transactions. Second, we design a latency-aware scheduler to minimize the lock contention span by strategically delaying the lock acquisition. Third, heuristic optimizations are proposed for the scheduler to reduce the lock contention span further. We implemented GeoTP on Apache Shardingsphere, a state-of-the-art middleware, and extended it into Apache ScalarDB. Experimental results on YCSB and TPC-C demonstrate that GeoTP achieves up to 17.7x performance improvement.
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.
Cited by top-tier papers1
Ask how each one uses itBuilds on8
- Achieving low tail-latency and high scalability for serializable transactions in edge computingXusheng Chen, Haoze Song, Jianyu Jiang, Chaoyi Ruan et al.EuroSys 2021 · 32 citations
- Chiller: Contention-centric Transaction Execution and Data Partitioning for Modern NetworksErfan Zamanian, Julian Shun, Carsten Binnig, Tim KraskaSIGMOD 2020 · 29 citations
- Efficient Distributed Transaction Processing in Heterogeneous NetworksQian Zhang, Jingyao Li, Hongyao Zhao, Quanqing Xu et al.VLDB 2023 · 25 citations
- Tigger: A Database Proxy That Bounces With User-BypassMatthew Butrovich, Karthik Ramanathan, John Rollinson, Wan Shen Lim et al.VLDB 2023 · 17 citations
- Epoxy: ACID Transactions Across Diverse Data StoresPeter Kraft, Qian Li, Xinjing Zhou, Peter Bailis et al.VLDB 2023 · 17 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
- Natto: Providing Distributed Transaction Prioritization for High-Contention WorkloadsLinguan Yang, Xinan Yan, Bernard WongSIGMOD 2022 · 9 citations
- Detock: High Performance Multi-region Transactions at ScaleCuong D. T. Nguyen, Johann K. Miller, Daniel J. AbadiSIGMOD 2023 · 14 citations
- Lock Violation for Fault-tolerant Distributed Database System*Hua Guo, Xuan Zhou, Le CaiICDE 2021 · 7 citations
- Bonspiel: Low Tail Latency Transactions in Geo-Distributed DatabasesFan Cui, Eric Lo, Srijan Srivastava, Ziliang LaiVLDB 2025 · 1 citation
