RIOT: Replicated Independently-Ordered Transactions
Open Access
- 30 May 2026
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 464-476
Abstract
Consensus protocols such as Raft and Paxos implement state machine replication through a single leader that enforces a totally ordered log. While this simplifies correctness, it introduces sequential bottlenecks that restrict scalability. We present RIOT, a generalized consensus protocol that eliminates centralized leadership and log replication in favor of decentralized coordination over a directed acyclic graph (DAG) of entries. RIOT guarantees that all servers maintain a logically identical DAG that enforces ordering under contention, while allowing commutative operations to execute concurrently. RIOT is motivated by our work on distributed graph databases, which must guarantee reciprocal consistency for edges that span shards. Unlike specialized transaction protocols, RIOT makes no assumptions about concurrency control or transaction models. It provides a replicated state machine abstraction that integrates cleanly with transactional databases, treating DAG entries as transaction placeholders. Both single-phase and two-phase variants are supported, ensuring atomic agreement on entries and their ordering constraints. We integrate RIOT with Neo4j and evaluate it against Neo4j's production Raft implementation. For common workloads, RIOT delivers up to 2.5× higher throughput and 2.3× lower tail latency while matching exiting consistency guarantees. In doing so, RIOT demonstrates how consensus can be generalized to unlock scalability for transactional databases at scale.Keywords
This publication has 17 references indexed in Scilit:
- Non-Blocking Raft for High Throughput IoT Data2023
- Taming the Contention in Consensus-based Distributed SystemsIEEE Transactions on Dependable and Secure Computing, 2020
- Speeding up Consensus by Chasing Fast Decisions2017
- Amazon Aurora2017
- CORFUACM Transactions on Computer Systems, 2013
- There is more consensus in Egalitarian parliaments2013
- Balanced label propagation for partitioning massive graphs2013
- Group formation in large social networks2006
- Fast PaxosDistributed Computing, 2006
- The part-time parliamentACM Transactions on Computer Systems, 1998