Reliable commit and optimistic concurrency control for dynamically reconfigurable distributed databases

Author(s):  
Sue M. Zajac ◽  
Fred J. Maryanski
2021 ◽  
Vol 14 (5) ◽  
pp. 743-756
Author(s):  
Yi Lu ◽  
Xiangyao Yu ◽  
Lei Cao ◽  
Samuel Madden

Many modern data-oriented applications are built on top of distributed OLTP databases for both scalability and high availability. Such distributed databases enforce atomicity, durability, and consistency through two-phase commit (2PC) and synchronous replication at the granularity of every single transaction. In this paper, we present COCO, a new distributed OLTP database that supports epoch-based commit and replication. The key idea behind COCO is that it separates transactions into epochs and treats a whole epoch of transactions as the commit unit. In this way, the overhead of 2PC and synchronous replication is significantly reduced. We support two variants of optimistic concurrency control (OCC) using physical time and logical time with various optimizations, which are enabled by the epoch-based execution. Our evaluation on two popular benchmarks (YCSB and TPC-C) show that COCO outperforms systems with fine-grained 2PC and synchronous replication by up to a factor of four.


1980 ◽  
Vol 5 (1) ◽  
pp. 18-51 ◽  
Author(s):  
Philip A. Bernstein ◽  
David W. Shipman ◽  
James B. Rothnie

Sign in / Sign up

Export Citation Format

Share Document