ECROs: building global scale systems from sequential code

Kevin De Porre, Carla Ferreira, Nuno Preguiça, Elisa Gonzalez Boix

Onderzoeksoutput: Conference paper

8 Citaten (Scopus)

Samenvatting

To ease the development of geo-distributed applications, replicated data types (RDTs) offer a familiar programming interface while ensuring state convergence, low latency, and high availability. However, RDTs are still designed exclusively by experts using ad-hoc solutions that are error-prone and result in brittle systems. Recent works statically detect conflicting operations on existing data types and coordinate those at runtime to guarantee convergence and preserve application invariants. However, these approaches are too conservative, imposing coordination on a large number of operations. In this work, we propose a principled approach to design and implement efficient RDTs taking into account application invariants. Developers extend sequential data types with a distributed specification, which together form an RDT. We statically analyze the specification to detect conflicts and unravel their cause. This information is then used at runtime to serialize concurrent operations safely and efficiently. Our approach derives a correct RDT from any sequential data type without changes to the data type's implementation and with minimal coordination. We implement our approach in Scala and develop an extensive portfolio of RDTs. The evaluation shows that our approach provides performance similar to conflict-free replicated data types for commutative operations, and considerably improves the performance of non-commutative operations, compared to existing solutions.

Originele taal-2English
TitelProceedings of the ACM on Programming Languages
UitgeverijACM
Pagina's1-30
Aantal pagina's30
Volume5
UitgaveOOPSLA
ISBN van elektronische versie2475-1421
DOI's
StatusPublished - 15 okt 2021
EvenementOOPSLA 2021 - Swissotel, Chicago, United States
Duur: 17 okt 202122 okt 2021
https://2021.splashcon.org/track/splash-2021-oopsla

Publicatie series

NaamProceedings of the ACM on Programming Languages
UitgeverijAssociation for Computing Machinery
ISSN van geprinte versie2475-1421

Conference

ConferenceOOPSLA 2021
Land/RegioUnited States
StadChicago
Periode17/10/2122/10/21
Internet adres

Bibliografische nota

Related software artifact: https://doi.org/10.5281/zenodo.5510036

Vingerafdruk

Duik in de onderzoeksthema's van 'ECROs: building global scale systems from sequential code'. Samen vormen ze een unieke vingerafdruk.

Citeer dit