pith. sign in

arxiv: 2605.31569 · v1 · pith:7SE6QQUGnew · submitted 2026-05-29 · 💻 cs.DC · cs.DB· cs.LO· cs.PL

A Datalog Framework for Conflict-Free Replicated Data Types

classification 💻 cs.DC cs.DBcs.LOcs.PL
keywords datadatalogframeworksemanticsapplicationscollaborationconflict-freecrdts
0
0 comments X
read the original abstract

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.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.