A Datalog Framework for Conflict-Free Replicated Data Types

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Yanakieva, Elena, Bieniusa, Annette, Dumbrava, Stefania
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866918531769040896
author Yanakieva, Elena
Bieniusa, Annette
Dumbrava, Stefania
author_facet Yanakieva, Elena
Bieniusa, Annette
Dumbrava, Stefania
contents Distributed applications increasingly support local-first collaboration over shared data, allowing multiple users to perform updates concurrently without global coordination. Such collaboration requires careful design to capture the intended semantics of the concurrent interactions. We introduce a declarative framework for specifying and reasoning about the semantics of conflict-free replicated data types (CRDTs) and CRDT-based applications in Datalog. The framework models CRDT semantics as executable logic programs over operation contexts, making concurrency explicit and compositional, and thus amenable to automated analysis. As one application, we use property-based testing to compare implementations. To the best of our knowledge, this is the first work to systematically use Datalog as a foundation for prototyping and analyzing complex CRDTs and their compositions. We evaluate our methodology using a collaborative graph data editing case study and report experimentation results assessing correctness validation and scalability with an increasing number of operations and replicas.
format Preprint
id arxiv_https___arxiv_org_abs_2605_31569
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle A Datalog Framework for Conflict-Free Replicated Data Types
Yanakieva, Elena
Bieniusa, Annette
Dumbrava, Stefania
Distributed, Parallel, and Cluster Computing
Databases
Logic in Computer Science
Programming Languages
Distributed applications increasingly support local-first collaboration over shared data, allowing multiple users to perform updates concurrently without global coordination. Such collaboration requires careful design to capture the intended semantics of the concurrent interactions. We introduce a declarative framework for specifying and reasoning about the semantics of conflict-free replicated data types (CRDTs) and CRDT-based applications in Datalog. The framework models CRDT semantics as executable logic programs over operation contexts, making concurrency explicit and compositional, and thus amenable to automated analysis. As one application, we use property-based testing to compare implementations. To the best of our knowledge, this is the first work to systematically use Datalog as a foundation for prototyping and analyzing complex CRDTs and their compositions. We evaluate our methodology using a collaborative graph data editing case study and report experimentation results assessing correctness validation and scalability with an increasing number of operations and replicas.
title A Datalog Framework for Conflict-Free Replicated Data Types
topic Distributed, Parallel, and Cluster Computing
Databases
Logic in Computer Science
Programming Languages
url https://arxiv.org/abs/2605.31569