Javascript must be enabled to continue!
Focus! Fast On-disk Concurrency-control Using Sketches
View through CrossRef
Concurrency-control (CC) mechanisms are essential for ensuring consistency in large-scale key-value stores, but traditional approaches face significant challenges. Mechanisms like 2PL and OCC incur high CPU overheads. Timestamp-based mechanisms are faster but require storing timestamps for every key, resulting in substantial space overhead and numerous I/O operations in disk-based systems. We address these challenges by decomposing timestamp-based CC schemes into two components: a timestamp storage system and a CC protocol. We then show that the timestamp storage system can approximate timestamps for keys not used by ongoing transactions, substantially reducing memory requirements and I/O while maintaining correctness for various protocols (STO, MVTO, and TicToc). We introduce FPSketch, an approximate timestamp storage system, and our evaluation with SplinterDB shows that FPSketch outperforms 2PL and OCC by up to 14× on some workloads and disk-based CC systems by up to 5.9×. Remarkably, FPSketch with just 32KiB of memory yields performance comparable to an idealized in-memory implementations in our evaluation. FPSketch makes timestamp-based concurrency control mechanisms practical for disk-based key-value stores.
Association for Computing Machinery (ACM)
Title: Focus! Fast On-disk Concurrency-control Using Sketches
Description:
Concurrency-control (CC) mechanisms are essential for ensuring consistency in large-scale key-value stores, but traditional approaches face significant challenges.
Mechanisms like 2PL and OCC incur high CPU overheads.
Timestamp-based mechanisms are faster but require storing timestamps for every key, resulting in substantial space overhead and numerous I/O operations in disk-based systems.
We address these challenges by decomposing timestamp-based CC schemes into two components: a timestamp storage system and a CC protocol.
We then show that the timestamp storage system can approximate timestamps for keys not used by ongoing transactions, substantially reducing memory requirements and I/O while maintaining correctness for various protocols (STO, MVTO, and TicToc).
We introduce FPSketch, an approximate timestamp storage system, and our evaluation with SplinterDB shows that FPSketch outperforms 2PL and OCC by up to 14× on some workloads and disk-based CC systems by up to 5.
9×.
Remarkably, FPSketch with just 32KiB of memory yields performance comparable to an idealized in-memory implementations in our evaluation.
FPSketch makes timestamp-based concurrency control mechanisms practical for disk-based key-value stores.
Related Results
Antibiogram of Escherichia coli isolated from semi-closed system farmed Asian clam (Corbicula fluminea)
Antibiogram of Escherichia coli isolated from semi-closed system farmed Asian clam (Corbicula fluminea)
In the present study, antibiogram of Escherichia coli isolated from farmed Asian clam, Corbiculafluminea was characterised. Asian clam or locally known as ‘etak’ is processed to be...
Single-Disk and Double-Disk Viscous Micropump
Single-Disk and Double-Disk Viscous Micropump
The development and testing of two novel micropumps called the single-disk and double-disk viscous pumps are described. A single disk and the top pump housing, or two disks are sep...
DOMASCOS (DOMAin Specific COncurrency Skeletons)
DOMASCOS (DOMAin Specific COncurrency Skeletons)
Existing approaches to concurrent programming, albeit essential, are easily used incorrectly. Testing is difficult due to the inherent non-determinism introduced by concurrency, es...
Concurrent Scaling: Evaluating AWS Lambda Performance through Load Testing
Concurrent Scaling: Evaluating AWS Lambda Performance through Load Testing
Abstract
In the dynamic environment of serverless computing, efficient concurrency management and reasonable utilization of load testing techniques closely correlate with p...
Nonlinear optimal control for robotic exoskeletons with electropneumatic actuators
Nonlinear optimal control for robotic exoskeletons with electropneumatic actuators
Purpose
To provide high torques needed to move a robot’s links, electric actuators are followed by a transmission system with a high transmission rate. For instance, gear ratios of...
Interaction between disk and extended corona in a general relativistic framework
Interaction between disk and extended corona in a general relativistic framework
Context.
The energy equilibrium between the corona and the underlying disk in a two-phase accretion flow sets a lower limit on the achievable photon index. A sl...
Snapshot of a magnetohydrodynamic disk wind
Snapshot of a magnetohydrodynamic disk wind
Abstract
The formation of astrophysical objects of different nature and size, from black holes to gaseous giant planets, involves a disk-jet system, where the disk drives t...
Modeling of the Efficiency of the Centrifugal Conical Disk Dispenser of Bulk Materials
Modeling of the Efficiency of the Centrifugal Conical Disk Dispenser of Bulk Materials
Centrifugal disk dispensers are widely used in various tasks of dosing bulk, dispersed materials. The design of the disk depends on the physical and mechanical characteristics of t...

