
62
GeoGauss: Strongly Consistent and Light-Coordinated OLTP
for Geo-Replicated SQL Database
WEIXING ZHOU and QI PENG, Northeastern University, China
ZIJIE ZHANG, Huawei Technology Co., Ltd, China
YANFENG ZHANG
∗
, Northeastern University, China
YANG REN and SIHAO LI, Huawei Technology Co., Ltd, China
GUO FU and YULONG CUI, Northeastern University, China
QIANG LI, Huawei Technology Co., Ltd, China
CAIYI WU, SHANGJUN HAN, and SHENGYI WANG, Northeastern University, China
GUOLIANG LI, Tsinghua University, China
GE YU, Northeastern University, China
Multinational enterprises conduct global business that has a demand for geo-distributed transactional databases.
Existing state-of-the-art databases adopt a sharded master-follower replication architecture. However, the
single-master serving mode incurs massive cross-region writes from clients, and the sharded architecture
requires multiple round-trip acknowledgments (e.g., 2PC) to ensure atomicity for cross-shard transactions.
These limitations drive us to seek yet another design choice. In this paper, we propose a strongly consistent
OLTP database
GeoGauss
with full replica multi-master architecture. To eciently merge the updates from
dierent master nodes, we propose a multi-master OCC that unies data replication and concurrent transaction
processing. By leveraging an epoch-based delta state merge rule and the optimistic asynchronous execution,
GeoGauss
ensures strong consistency with light-coordinated protocol and allows more concurrency with
weak isolation, which are sucient to meet our needs. Our geo-distributed experimental results show that
GeoGauss
achieves 7.06X higher throughput and 17.41X lower latency than the state-of-the-art geo-distributed
database CockroachDB on the TPC-C benchmark.
CCS Concepts: • Information systems → Relational parallel and distributed DBMSs.
Additional Key Words and Phrases: Geo-distributed; multi-master replication; replica consistency; transaction
processing; deterministic databases
ACM Reference Format:
Weixing Zhou, Qi Peng, Zijie Zhang, Yanfeng Zhang, Yang Ren, Sihao Li, Guo Fu, Yulong Cui, Qiang Li,
Caiyi Wu, Shangjun Han, Shengyi Wang, Guoliang Li, and Ge Yu. 2023. GeoGauss: Strongly Consistent and
Light-Coordinated OLTP for Geo-Replicated SQL Database. Proc. ACM Manag. Data 1, 1, Article 62 (May 2023),
27 pages. https://doi.org/10.1145/3588916
∗
Yanfeng Zhang is the corresponding author.
Authors’ addresses: Weixing Zhou, Qi Peng, Yanfeng Zhang, Guo Fu, Yulong Cui, Caiyi Wu, Shangjun Han, Shengyi
Wang, Ge Yu, Northeastern University, No. 195, Chuangxin Road, Hunnan District, Shenyang, Liaoning, China, 110169,
{zhouwx@stumail, pengqi@stumail, Zhangyf@mail, yuge@mail}.neu.edu.cn; Zijie Zhang, Yang Ren, Sihao Li, Qiang Li,
Huawei Technology Co., Ltd, Xian, Shanxi, China, {zhangzijie9, renyang1, sean.lisihao, liqiang199}@huawei.com; Guoliang
Li, Tsinghua University, 30 Shuangqing Road, Haidian District, Beijing, China, liguoliang@tsinghua.edu.cn;
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee
provided that copies are not made or distributed for prot or commercial advantage and that copies bear this notice and the
full citation on the rst page. Copyrights for components of this work owned by others than the author(s) must be honored.
Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires
prior specic permission and/or a fee. Request permissions from permissions@acm.org.
© 2023 Copyright held by the owner/author(s). Publication rights licensed to ACM.
2836-6573/2023/5-ART62 $15.00
https://doi.org/10.1145/3588916
Proc. ACM Manag. Data, Vol. 1, No. 1, Article 62. Publication date: May 2023.
评论