Fast Quorum-Based Log Replication and Replay for Fast Databases

被引:1
|
作者
Wang, Donghui [1 ]
Cai, Peng [1 ,2 ]
Qian, Weining [1 ]
Zhou, Aoying [1 ]
机构
[1] East China Normal Univ, Sch Data Sci & Engn, Shanghai 200062, Peoples R China
[2] Guilin Univ Elect Technol, Guangxi Key Lab Trusted Software, Guilin 541004, Peoples R China
基金
国家重点研发计划;
关键词
Log replication; Log replay; High performance; Quorum;
D O I
10.1007/978-3-030-18576-3_13
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The modern In-Memory Database (IMDB) can support highly concurrent OLTP workloads and generate massive transactional logs per second. Quorum based replication protocols such as Paxos or Raft have been widely used in distributed databases. However, it's non-trivial to replicate IMDB because high transaction rate has brought new challenges. First, the leader node in quorum replication should have adaptivity by considering various transaction arrival rates and the processing capability of follower nodes. Second, followers are required to replay logs to catch up the state of the leader in the highly concurrent setting to reduce visibility gap. To this end, we built QuorumX, an efficient quorum-based replication framework for IMDB under heavy OLTP workloads. QuorumX combines critical path based batching and pipeline batching to provide an adaptive log propagation scheme to obtain a stable and high performance at various settings. Further, we propose a safe and coordination-free log replay scheme to minimize the visibility gap between the leader and follower IMDBs. Our evaluation results with the YCSB and TPC-C benchmarks demonstrate that QuorumX achieves the performance close to asynchronous primary-backup replication without sacrificing the data consistency and availability.
引用
收藏
页码:209 / 226
页数:18
相关论文
共 50 条
  • [1] Efficient and stable quorum-based log replication and replay for modern cluster-databases
    Donghui Wang
    Peng Cai
    Weining Qian
    Aoying Zhou
    [J]. Frontiers of Computer Science, 2022, 16
  • [2] Efficient and stable quorum-based log replication and replay for modern cluster-databases
    Wang, Donghui
    Cai, Peng
    Qian, Weining
    Zhou, Aoying
    [J]. FRONTIERS OF COMPUTER SCIENCE, 2022, 16 (05)
  • [3] Efficient and stable quorum-based log replication and replay for modern cluster-databases
    Donghui WANG
    Peng CAI
    Weining QIAN
    Aoying ZHOU
    [J]. Frontiers of Computer Science., 2022, 16 (05) - 155
  • [4] Scalable Replay-Based Replication For Fast Databases
    Qin, Dai
    Brown, Angela Demke
    Goel, Ashvin
    [J]. PROCEEDINGS OF THE VLDB ENDOWMENT, 2017, 10 (13): : 2025 - 2036
  • [5] Quorum-based replication of objects
    Tanaka, K
    Takizawa, M
    [J]. 11TH INTERNATIONAL WORKSHOP ON DATABASE AND EXPERT SYSTEMS APPLICATION, PROCEEDINGS, 2000, : 33 - 37
  • [6] Group protocol for quorum-based replication
    Arai, K
    Tanaka, K
    Takizawa, M
    [J]. SEVENTH INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED SYSTEMS, PROCEEDINGS, 2000, : 57 - 64
  • [7] On the Robustness of (Semi) Fast Quorum-Based Implementations of Atomic Shared Memory
    Georgiou, Chryssis
    Nicolaou, Nicolas C.
    Shvartsman, Alexander A.
    [J]. DISTRIBUTED COMPUTING, PROCEEDINGS, 2008, 5218 : 289 - +
  • [8] On the Robustness of (Semi)Fast Quorum-Based Implementations of Atomic Shared Memory
    Georgiou, Chryssis
    Nicolaou, Nicolas C.
    Shvartsman, Alexander A.
    [J]. PODC'08: PROCEEDINGS OF THE 27TH ANNUAL ACM SYMPOSIUM ON PRINCIPLES OF DISTRIBUTED COMPUTING, 2008, : 425 - 425
  • [9] Quorum-based Data Replication in Grid Environment
    Latip, Rohaya
    Othman, Mohamed
    Abdullah, Azizol
    Ibrahim, Hamidah
    Sulaiman, Md Nasir
    [J]. INTERNATIONAL JOURNAL OF COMPUTATIONAL INTELLIGENCE SYSTEMS, 2009, 2 (04) : 386 - 397
  • [10] Quorum-based Data Replication in Grid Environment
    Rohaya Latip
    Mohamed Othman
    Azizol Abdullah
    Hamidah Ibrahim
    Md Nasir Sulaiman
    [J]. International Journal of Computational Intelligence Systems, 2009, 2 (4) : 386 - 397