Distributed transactional reads: the strong, the quick, the fresh & the impossible

10/03/2018
by   Alejandro Z. Tomsic, et al.
0

This paper studies the costs and trade-offs of providing transactional consistent reads in a distributed storage system. We identify the following dimensions: read consistency, read delay (latency), and data freshness. We show that there is a three-way trade-off between them, which can be summarised as follows: (i) it is not possible to ensure at the same time order-preserving (e.g., causally-consistent) or atomic reads, Minimal Delay, and maximal freshness; thus, reading data that is the most fresh without delay is possible only in a weakly-isolated mode; (ii) to ensure atomic or order-preserving reads at Minimal Delay imposes to read data from the past (not fresh); (iii) however, order-preserving minimal-delay reads can be fresher than atomic; (iv) reading atomic or order-preserving data at maximal freshness may block reads or writes indefinitely. Our impossibility results hold independently of other features of the database, such as update semantics (totally ordered or not) or data model (structured or unstructured). Guided by these results, we modify an existing protocol to ensure minimal-delay reads (at the cost of freshness) under atomic-visibility and causally-consistent semantics. Our experimental evaluation supports the theoretical results.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/19/2023

Distributed Multi-writer Multi-reader Atomic Register with Optimistically Fast Read and Write

A distributed multi-writer multi-reader (MWMR) atomic register is an imp...
research
03/12/2020

A Fault-Tolerance Shim for Serverless Computing

Serverless computing has grown in popularity in recent years, with an in...
research
04/02/2018

Minimizing Content Staleness in Dynamo-Style Replicated Storage Systems

Consistency in data storage systems requires any read operation to retur...
research
08/31/2023

The Synchronization Power of Auditable Registers

Auditability allows to track all the read operations performed on a regi...
research
10/20/2021

Efficient Consensus-Free Weight Reassignment for Atomic Storage (Extended Version)

Weighted voting is a conventional approach to improving the performance ...
research
02/26/2023

Asynchronous Persistence with ASAP

Supporting atomic durability of updates for persistent memories is typic...
research
08/24/2019

A Precise and Expressive Lattice-theoretical Framework for Efficient Network Verification

Network verification promises to detect errors, such as black holes and ...

Please sign up or login with your details

Forgot password? Click here to reset