arXiv:2610.41837cs.DCOct 2026

Manuscript Offprint

arXiv:2610.41837

A Deterministic Commitment Rule over Unstructured DAGs for Optimistic Replication

João Paulo Bezerra, Petr Kuznetsov, Léo Olivier, Sara Tucci-Piergiovanni

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

In optimistic replication protocols, each replica uses the local state to execute requests from its clients in a wait-free manner, without synchronizing with other replicas. The outcomes may be revised later, making optimistic protocols only eventually consistent. To compensate for this consistency loss, an additional commitment mechanism can be employed: an underlying consensus protocol that allows replicas to periodically agree on the evolution of the object state.

In this paper, we introduce a simple framework for optimistic replication based on a causality DAG: every replica represents the object state via a causally ordered set of client operations. The framework incorporates a deterministic commitment rule that incurs virtually zero message overhead beyond the basic dissemination of submitted operations.

2012 ACM Subject Classification Theory of computation → Distributed algorithms

Keywords and phrases Atomic Broadcast, DAG Protocols, CRDT, Optimistic Replication.

1 Introduction

Optimistic replication. Distributed systems face a fundamental tradeoff between responsiveness and consistency. Strongly consistent protocols require replicas to coordinate before responding to client requests, which can significantly increase latency. Optimistic replication takes the opposite approach: replicas execute client operations immediately using their local state and perform synchronization in the background. As a result, clients obtain low-latency responses, while replicas gradually converge towards a common state [28].

The behavior of optimistic protocols is commonly captured through eventual consistency. Replicas may temporarily disagree on the order in which operations should be applied, causing local states to diverge. Nevertheless, after exchanging sufficient information, correct replicas eventually converge. In many applications, it is desirable to complement eventual consistency with a commitment mechanism that allows replicas to irrevocably determine a common ordering of operations. Such a mechanism enables strongly consistent operations, safe garbage collection, and reconfiguration.

Conflict-Free Replicated Data Type (CRDT) [30] protocols are among the most widely used optimistic replication techniques. CRDT protocols satisfy strong eventual consistency: whenever replicas observe the same set of operations, they reach the same state. Moreover, they tolerate an arbitrary number of failures and avoid the need for consensus during normal operation. However, CRDTs do not naturally provide a commitment mechanism.

Numerous CRDT implementations rely on causal broadcast [7, 2, 20] to disseminate operations. In particular, Baquero et al. [6] and Almeida [2] describe a generic framework based on a partially ordered log, where the replicated state is derived by locally interpreting

Deterministic Commitment over Unstructured DAGs

a causally ordered set of operations. Following this approach, we view the causality relation between disseminated operations as a directed acyclic graph (DAG) and show that this structure can be leveraged not only to guarantee convergence but also to derive a deterministic commitment mechanism.

Deterministic commitment from the DAG. DAG-based protocols have recently attracted considerable attention due to their simplicity and high throughput. Most existing DAG-based solutions operate in the Byzantine setting and target blockchain applications, whereas we consider crash failures, the conventional failure model for optimistic replication systems. These blockchain solutions typically construct DAGs with layered structures by organizing vertices into asynchronous rounds [17, 10] and requiring replicas to collect sufficient information before issuing a new vertex. Commitment is obtained through additional mechanisms such as randomization [27, 5, 13] or waiting for designated leaders [18, 4].

Rather than constructing a layered DAG, we consider the causality DAG that naturally emerges from the exchange of replica messages in an optimistic replication protocol, similarly to the partially ordered logs used in CRDT systems. Since replicas do not wait for any particular message before issuing new vertices, the DAG remains unstructured. To ensure progress, replicas equip every disseminated message with the output of an eventual leader oracle Ω\Omega, which encapsulates the smallest amount of synchrony for establishing a total order on the inputs [9]. Therefore, the DAG captures not only causality relations between operations, but also information about the underlying system synchrony. Using this information, replicas can locally and deterministically derive a common total order whenever a majority of replicas remain correct and Ω\Omega eventually stabilizes on the same leader at all correct replicas. No rounds, randomization, or separate ordering protocol are required.

Contributions. To summarize, our contributions are threefold:

  • We show how the information produced by an eventual leader oracle can be embedded into a causality DAG, allowing replicas to derive deterministic commitment without rounds, randomization, or timeout-driven coordination.

  • We use the resulting framework to construct a generic replication protocol supporting both optimistic and strong consistency criteria.

  • We devise an efficient commitment mechanism that incurs virtually no communication overhead¹ beyond the dissemination layer already used by many optimistic replication protocols.

Roadmap. The rest of the paper is organized as follows. We discuss related work in Section 2. In Section 3, we present our system model and specify the optimistic replication problem. We present the commitment framework and prove its correctness in Section 4. We give our concluding remarks in Section 5.