arrow
Return

PolyBase: Adapting to Data Affinity Changes in Geo-Replicated Database via Row-Level Consensus-Group Affiliation Re-Assignment

delete2025-04-07
delete0
PRE
AI
C
Chaoyi Ruan *
L
Li, Cheng
Z
Zhou, Jie
Z
Zhang, Yingqiang
X
Xiaosong Ma
L
Li, Feifei
Z
Zhang, Juncheng
C
Chen, Hao
X
Xinjun Yang
DOI:10.14778/3712221.3712236delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
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 Paxosbased 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 microbenchmarks confirms that PolyBase offers significantly higher transaction throughput and lower average/tail latency compared to baselines.
Keywords:
LOW-LATENCY

Journal

P
Proceedings of the VLDB Endowment
IF:
3.3
Papers:
556
Citations:
1.2W

Organization

M
mbzuai
Scholars:
9
Papers: 4
Citations: 2
A
azft
Scholars:
5
Papers: 1
Citations: 0
U
USTC
Scholars:
115
Papers: 56
Citations: 10
researcher View more organizations