A Performance Study of Epoch-based Commit Protocols in Distributed OLTP Databases

被引:1
|
作者
Waudby, Jack [1 ]
Ezhilchelvan, Paul [1 ]
Mitrani, Isi [1 ]
Webber, Jim [2 ]
机构
[1] Newcastle Univ, Newcastle Upon Tyne, Tyne & Wear, England
[2] Neo4j, San Mateo, CA USA
关键词
Distributed Databases; Transactions; Two-Phase Commit; Epochs; Analytical solutions; Simulations; Performance Evaluation; Throughput; Latency; TRANSACTIONS; REPLICATION;
D O I
10.1109/SRDS55811.2022.00026
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Distributed OLTP systems execute the high-overhead, two-phase commit (2PC) protocol at the end of every distributed transaction. Epoch-based commit proposes that 2PC be executed only once for all transactions processed within a time interval called an epoch. Increasing epoch duration allows more transactions to be processed before the common 2PC. It thus reduces 2PC overhead per transaction, increases throughput but also increases average transaction latency. Therefore, required is the ability to choose the right epoch size that offers the desired trade-off between throughput and latency. To this end, we develop two analytical models to estimate throughput and average latency in terms of epoch size taking into account load and failure conditions. Simulations affirm their accuracy and effectiveness. We then present epoch-based multi-commit which, unlike epoch-based commit, seeks to avoid all transactions being aborted when failures occur, and also performs identically when failures do not occur. Our performance study identifies workload factors that make it more effective in preventing transaction aborts and concludes that the analytical models can be equally useful in predicting its performance as well.
引用
收藏
页码:189 / 200
页数:12
相关论文
共 50 条
  • [1] Epoch-based Commit and Replication in Distributed OLTP Databases
    Lu, Yi
    Yu, Xiangyao
    Cao, Lei
    Madden, Samuel
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2021, 14 (05): : 743 - 756
  • [2] THE OVERHEAD OF LOCKING (AND COMMIT) PROTOCOLS IN DISTRIBUTED DATABASES
    WOLFSON, O
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 1987, 12 (03): : 453 - 471
  • [3] PERFORMANCE ANALYSIS OF DISTRIBUTED COMMIT PROTOCOLS
    CHEN, TC
    RAMARAO, KVS
    PROCEEDINGS : FIFTH INTERNATIONAL CONFERENCE ON DATA ENGINEERING, 1989, : 505 - 512
  • [4] TCP Performance Optimization for Epoch-based Execution
    Sun, Yifeng
    Chiueh, Tzi-cker
    PROCEEDINGS OF THE 8TH ASIA-PACIFIC WORKSHOP ON SYSTEMS (APSYS '17), 2017,
  • [5] A Simulation of Performance of Commit Protocols in Distributed Environment
    Tabassum, Kahkashan
    Taranum, Fahmina
    Damodaram, Avula
    ADVANCES IN PARALLEL, DISTRIBUTED COMPUTING, 2011, 203 : 665 - +
  • [6] A Novel Epoch-Based Transaction Consistency Sorting Protocol for DAG Distributed Ledger
    Li, Rong
    Wang, Shangping
    Xie, Na
    SECURITY AND COMMUNICATION NETWORKS, 2022, 2022
  • [7] Permissioned blockchains and distributed databases: A performance study
    Bergman, Sara
    Asplund, Mikael
    Nadjm-Tehrani, Simin
    CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2020, 32 (12):
  • [8] Unified protocols of concurrency control and recovery in distributed object-based databases
    Lee, SK
    Hwang, CS
    COMPUTER JOURNAL, 2001, 44 (03): : 201 - 213
  • [9] Model-based performance evaluation of distributed checkpointing protocols
    Agbaria, Adnan
    Friedman, Roy
    PERFORMANCE EVALUATION, 2008, 65 (05) : 345 - 365
  • [10] Simulation based Performance Study of Cache Coherence Protocols
    Mallya, Neethu Bal
    Patil, Geeta
    Raveendran, Biju
    2015 IEEE INTERNATIONAL SYMPOSIUM ON NANOELECTRONIC AND INFORMATION SYSTEMS, 2015, : 125 - 130