arrow
Return

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
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

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.
Keywords:
Deterministic concurrency control
Transaction processing
Distributed database
Scalability

Journal

F
Future Generation Computer Systems-The International Journal of eScience
IF:
6.1
Papers:
6.9K
Citations:
2.3W

Organization

H
harbin institute of technology
Scholars:
8.0W
Papers: 6.6W
Citations: 66
G
Guangzhou University
Scholars:
1.8W
Papers: 1.3W
Citations: 1.8W
Cited Papers

Cited Papers

Facile preparation of in situ coated Ti3C2Tx/Ni0.5Zn0.5Fe2O4composites and their electromagnetic performance
err2017-01-01
err0
errOAAI
errYoubing Li; Xiaobing Zhou; Jing Wang; Qihuang Deng; Mian Li; Shiyu Du; Young-Hwan Han; Jaehyung Lee; Qing Huang
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
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
errShare
errSave
Photoacoustic Point Source
err2001-04-16
err0
PREAI
errIrio G. Calasso; Walter Craig; Gerald J. Diebold
errShare
errSave
researcher View more