PolyBase: Adapting to Data Affinity Changes in Geo-Replicated Database via Row-Level Paxos-Group Affiliation Re-Assignment
Chaoyi Ruan, Yingqiang Zhang, Juncheng Zhang, Cheng Li, Xiaosong Ma, Hao Chen, Jie Zhou, Feifei Li, Xinjun Yang
摘要
Transaction performance in geo-replicated databases heavily relies on the request location: when not issued by the primary region, transactions are forced to involve costly wide-area communication. While existing systems distribute primary roles across regions, such assignment typically occurs at the shard level, making it difficult to align with geographically dispersed access to individual records.
This paper introduces PolyBase, a pioneering architecture to address such misalignment, leveraging the widely adopted Paxos-based log replication mechanisms. It enables flexible row-level consensus group affiliation , which runs on an unchanged Paxos protocol , but dynamically re-assigns database rows between Paxos log replication groups, whose leaders become the primary region, enjoying faster writes and up-to-date versions for reads. With carefully designed data structures and protocols, PolyBase significantly reduces wide-area RTTs without compromising transaction or log replication consistency or reliability guarantees. We implemented PolyBase with optimized re-assignment policies and integrated it into two popular databases (RocksDB and MySQL). Our evaluation on AWS, using a production e-commerce workload and microbench-marks confirms that PolyBase offers significantly higher transaction throughput and lower average/tail latency compared to baselines.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- Zeus: locality-aware distributed transactions 引用了 DynaMast: Adaptive Dynamic Mastering for Replicated Systems
- SwiftPaxos: Fast Geo-Replicated State Machines 引用了 EPaxos Revisited
- Detock: High Performance Multi-region Transactions at Scale 引用了 DynaMast: Adaptive Dynamic Mastering for Replicated Systems
它引用的 Paper7
- EPaxos RevisitedSarah Tollman, Seo Jin Park, John K. OusterhoutNSDI 2021 · 48 次引用
- Zeus: locality-aware distributed transactionsAntonios Katsarakis, Yijun Ma, Zhaowei Tan, Andrew Bainbridge 等EuroSys 2021 · 20 次引用
- SwiftPaxos: Fast Geo-Replicated State MachinesFedor Ryabinin, Alexey Gotsman, Pierre SutraNSDI 2024 · 19 次引用
- DynaMast: Adaptive Dynamic Mastering for Replicated SystemsMichael Abebe, Brad Glasbergen, Khuzaima DaudjeeICDE 2020 · 14 次引用
- Detock: High Performance Multi-region Transactions at ScaleCuong D. T. Nguyen, Johann K. Miller, Daniel J. AbadiSIGMOD 2023 · 14 次引用
相关 Paper
- GeoLM: Performance-oriented Leader Management for Geo-Distributed Consensus ProtocolDuling Xu, Dafang Zhang, Tong Li, Yunpeng Chai 等INFOCOM 2025 · 5 次引用
- GeoGauss: Strongly Consistent and Light-Coordinated OLTP for Geo-Replicated SQL DatabaseWeixing Zhou, Qi Peng, Zijie Zhang, Yanfeng Zhang 等SIGMOD 2023 · 10 次引用
- Fast Commitment for Geo-Distributed Transactions via Decentralized Co-coordinatorsZihao Zhang, Huiqi Hu, Xuan Zhou, Yaofeng Tu 等VLDB 2024 · 3 次引用
- MassBFT: Fast and Scalable Geo-Distributed Byzantine Fault-Tolerant ConsensusZeshun Peng, Yanfeng Zhang, Tinghao Feng, Weixing Zhou 等ICDE 2025 · 1 次引用
- Epoch-based Optimistic Concurrency Control in Geo-replicated DatabasesYunhao Mao, Harunari Takata, Michail Bachras, Yuqiu Zhang 等SIGMOD 2026
