Back to Search Start Over

Transparent speculation in geo-replicated transactional data stores.

Authors :
Li, Zhongmiao
Romano, Paolo
Roy, Peter Van
Source :
Journal of Parallel & Distributed Computing. Sep2020, Vol. 143, p129-147. 19p.
Publication Year :
2020

Abstract

This work presents Speculative Transaction Replication (STR), a protocol that exploits transparent speculation techniques to enhance performance of geo-distributed, partially replicated transactional data stores. In addition, we define a new consistency model, Speculative Snapshot Isolation (SPSI), a variant of Snapshot Isolation (SI), which shelters applications from the subtle anomalies that arise when using speculative transaction processing techniques. STR provides a form of speculation that is fully transparent for programmers (it does not expose the effects of misspeculations to clients). Since the speculation techniques employed by STR satisfy SPSI, they can be leveraged by application programs in a transparent way, without requiring any source-code modification to applications designed to operate using SI. STR combines two key techniques: speculative reads, which allow transactions to observe pre-committed versions, which can reduce the 'effective duration' of pre-commit locks and enhance throughput; Precise Clocks, a novel timestamping mechanism that uses per-item timestamps with physical clocks, which together greatly enhance the probability of successful speculation. We assess STR's performance on up to nine geo-distributed Amazon EC2 data centers, using both synthetic benchmarks as well as realistic benchmarks (TPC-C and RUBiS). Our evaluation shows that STR achieves throughput gains up to 11 × and latency reduction up to 10 × (with respect to non-speculative systems that ensure SI) in workloads characterized by low inter-data center contention. Furthermore, thanks to a self-tuning mechanism that dynamically and transparently enables and disables speculation, STR offers robust performance even when faced with unfavorable workloads that suffer from high misspeculation rates. • We propose Speculative Snapshot Isolation, a consistency model that provides clear and rigorous guarantees on the atomicity and isolation of the snapshots observed and produced by speculative transactions. • We propose STR, a speculative transactional protocol for partially replicated geo-distributed data stores. STR is a full y decentralized protocol that ensures (SPSI-)safe speculations. • The evaluation study on nine AWS data centers shows that the use of speculation yields up to 11x throughput gain. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
07437315
Volume :
143
Database :
Academic Search Index
Journal :
Journal of Parallel & Distributed Computing
Publication Type :
Academic Journal
Accession number :
143601445
Full Text :
https://doi.org/10.1016/j.jpdc.2020.04.014