VeriFx: Correct Replicated Data Types for the Masses

Onderzoeksoutput: Conference paper

1 Citaat (Scopus)

Samenvatting

Distributed systems adopt weak consistency to ensure high availability and low latency, but state convergence is hard to guarantee due to conflicts. Experts carefully design replicated data types (RDTs) that resemble sequential data types and embed conflict resolution mechanisms that ensure convergence. Designing RDTs is challenging as their correctness depends on subtleties such as the ordering of concurrent operations. Currently, researchers manually verify RDTs, either by paper proofs or using proof assistants. Unfortunately, paper proofs are subject to reasoning flaws and mechanized proofs verify a formalization instead of a real-world implementation. Furthermore, writing mechanized proofs is reserved for verification experts and is extremely time-consuming. To simplify the design, implementation, and verification of RDTs, we propose VeriFx, a specialized programming language for RDTs with automated proof capabilities. VeriFx lets programmers implement RDTs atop functional collections and express correctness properties that are verified automatically. Verified RDTs can be transpiled to mainstream languages (currently Scala and JavaScript). VeriFx provides libraries for implementing and verifying Conflict-free Replicated Data Types (CRDTs) and Operational Transformation (OT) functions. These libraries implement the general execution model of those approaches and define their correctness properties. We use the libraries to implement and verify an extensive portfolio of 51 CRDTs, 16 of which are used in industrial databases, and reproduce a study on the correctness of OT functions.
Originele taal-2English
TitelVeriFx: Correct Replicated Data Types for the Masses
RedacteurenGuido Salvaneschi, Karim Ali
UitgeverijSchloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing
Pagina's1-45
Aantal pagina's45
Volume263
Uitgave37th
ISBN van elektronische versie978-3-95977-281-5
DOI's
StatusPublished - 2023
EvenementEuropean Conference on Object-Oriented Programming - University of Washington, Seattle campus, Seattle, United States
Duur: 17 jul 202321 jul 2023
Congresnummer: 2023

Publicatie series

NaamEuropean Conference on Object-Oriented Programming (ECOOP 2023)

Conference

ConferenceEuropean Conference on Object-Oriented Programming
Verkorte titelECOOP
Land/RegioUnited States
StadSeattle
Periode17/07/2321/07/23

Bibliografische nota

Software (ECOOP 2023 Artifact Evaluation approved artifact) https://doi.org/10.4230/DARTS.9.2.19

Vingerafdruk

Duik in de onderzoeksthema's van 'VeriFx: Correct Replicated Data Types for the Masses'. Samen vormen ze een unieke vingerafdruk.

Citeer dit