Distributed transactional reads: the strong, the quick, the fresh & the impossible - Archive ouverte HAL
Communication Dans Un Congrès Année : 2018

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

Alejandro Z. Tomsic
  • Fonction : Auteur
  • PersonId : 9540
  • IdHAL : aletomsic
Manuel Bravo
  • Fonction : Auteur
  • PersonId : 987051
Marc Shapiro

Résumé

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.
Fichier principal
Vignette du fichier
middleware18-authorversion.pdf (1.43 Mo) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-01876456 , version 1 (01-10-2018)

Identifiants

Citer

Alejandro Z. Tomsic, Manuel Bravo, Marc Shapiro. Distributed transactional reads: the strong, the quick, the fresh & the impossible. 2018 ACM/IFIP/USENIX International Middleware Conference, ACM/IFIP/USENIX, Dec 2018, Rennes, France. pp.14, ⟨10.1145/3274808.3274818⟩. ⟨hal-01876456⟩
144 Consultations
184 Téléchargements

Altmetric

Partager

More