arrow
返回

Dodo: A scalable optimistic deterministic concurrency control protocol

delete2024-10-01
delete0
PRE
AI
X
Xinyuan Wang
Y
Yün Peng
H
Hejiao Huang *
X
Xingchen Li
DOI:10.1016/j.future.2024.05.004delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Deterministic concurrency control is able to avoid the expensive two-phase commit in distributed databases and can solve the single -thread bottleneck of transaction processing in blockchain systems. Most existing deterministic concurrency control protocols rely on prior knowledge of the transaction's read-write set, which is impractical in most cases. The state-of-the-art deterministic concurrency control protocols Aria and DOCC break this limitation. However, they do not perform well in multi -node and multi -core scalability. To solve the scalability issues, we propose Dodo, a novel deterministic concurrency control protocol. Dodo processes transactions in multi -batches, and each batch is divided into three phases. In the first phase, transactions are executed as read committed and staged. In the second phase, transactions are validated for the read-write conflict. In the third phase, only the continuous un-conflicted transactions at the head of the batch can be committed. For the aborted transaction that will be rerun in the next batch, we utilize its write set in the previous execution to reduce the read-write conflicts in the next batch. In this way, Dodo has the following benefits. First, Dodo does not rely on the prior knowledge of the read-write set. Second, Dodo commits transactions in pre -determined orders (TIDs) providing high multi -node scalability. Third, Dodo runs transactions in each phase concurrently, and the aborted transactions are re -executed in a conflict -less manner, enabling high multi -core scalability. Besides, we propose two optimism -based improvements, lazy decision and early -write visibility, to reduce aborts and blocking. Our evaluation shows that Dodo outperforms Aria and DOCC by up to 16.5x and 8.0x in a single -node setting and scales well in a multi -node setting.
Keyword:
Deterministic concurrency control
Transaction processing
Distributed database
Scalability

期刊

F
Future Generation Computer Systems-The International Journal of eScience
IF:
6.1
论文数:
6.8K
被引数:
2.3W

机构

H
harbin institute of technology
学者数:
8.0W
论文数: 6.6W
被引数: 66
G
Guangzhou University
学者数:
1.8W
论文数: 1.3W
被引数: 1.8W
引用论文

引用论文

Facile preparation of in situ coated Ti3C2Tx/Ni0.5Zn0.5Fe2O4composites and their electromagnetic performance原位涂层Ti3C2Tx/Ni0.5Zn0.5Fe2O4 复合材料及其电磁性能
err2017-01-01
err0
errOAAI
errYoubing Li; Xiaobing Zhou; Jing Wang; Qihuang Deng; Mian Li; Shiyu Du; Young-Hwan Han; Jaehyung Lee; Qing Huang
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
The Effect of Cattle Grazing on Nutrient Losses in a Pacific Northwest Setting
err1982-10-01
err0
PREAI
errM. D. Jawson; L. F. Elliott; K. E. Saxton; D. H. Fortier
err分享
err收藏
Photoacoustic Point Source
err2001-04-16
err0
PREAI
errIrio G. Calasso; Walter Craig; Gerald J. Diebold
err分享
err收藏
学者 查看更多内容