DCDBLOPLMay 29

A Datalog Framework for Conflict-Free Replicated Data Types

arXiv:2605.3156943.8
Predicted impact top 62% in DC · last 90 daysOriginality Highly original
AI Analysis

This work provides a novel declarative framework for developers and researchers working with distributed applications that require local-first collaboration and concurrent updates, addressing the challenge of correctly specifying and analyzing CRDT semantics.

This paper introduces a Datalog framework for specifying and reasoning about Conflict-Free Replicated Data Types (CRDTs) and CRDT-based applications. The framework models CRDT semantics as executable logic programs, enabling automated analysis and property-based testing of implementations.

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.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes