Proceedings of the ACM on Programming Languages· 2026Q1
PRDTs: Composable Design and Verification of Consensus Protocols using Replicated Data Types
- 1citations
- Q1SCImago
- 2026year
Short summary
PRDTs, a novel programming model, enable consensus protocols to be built and verified using replicated data types (RDTs), allowing for composable, application-specific designs without performance drawbacks.
AI-generated from the title and abstract; the full text is not read.
Key points
- Introduces Protocol Replicated Data Types (PRDTs) as a novel programming model for consensus protocols.
- Leverages replicated data types (RDTs) to abstract network details and focus on high-level protocol logic.
- Enables automated verification of consensus safety through a formal model and proof procedure.
- Demonstrates composable protocol design by applying algebraic composition techniques from RDTs.
- Empirical evaluations show PRDTs offer flexibility and composability without performance drawbacks.
AI-generated from the title and abstract; the full text is not read.
Abstract
Consensus protocols are fundamental in distributed systems as they enable services with strong consistency properties. However, designing protocols optimized for specific use-cases under certain system assumptions is typically an error-prone process requiring expert knowledge. Furthermore, while most recent optimized protocols are variations of well-known algorithms like Paxos or Raft, they often necessitate complete re-implementations, potentially introducing new bugs and complicating the application of existing verification results. This approach impedes application-specific consistency protocols that can easily be amended or swapped out, depending on the given application and deployment scenario. We propose Protocol Replicated Data Types (PRDTs), a novel programming model for implementing consensus protocols using replicated data types (RDTs). Inspired by the knowledge-based view of consensus, PRDTs employ RDTs to monotonically accumulate knowledge until agreement is reached. This approach allows for implementations focusing on high-level protocol logic that abstracts away network details and facilitates automated verification. Moreover, by applying existing algebraic composition techniques for RDTs in the PRDT context, we enable composable protocol building-blocks for implementing complex protocols. We present a formal model of our approach and implement a proof procedure that allows automated reasoning about the consensus safety of concrete PRDT implementations. Additionally, we demonstrate the applicability of our model in verified PRDT-based implementations of existing consensus protocols, and report empirical performance evaluation results. Our findings indicate that the PRDT approach offers enhanced flexibility and composability in protocol design, facilitates reasoning about correctness, and is suited for real-world adoption without intrinsic performance drawbacks.
The authors' abstract, as published at the source. Proceedings of the ACM on Programming Languages, 2026 · DOI ↗
Continue with a free account
Ask the paper: 3 free questions a day about this paper; save it, get its citation, new summaries every day for your field. Takeaways are Premium.
Continue free on the webSign in with Google or Apple; no card needed. You come back to this paper.
On your phone:
Field: Computer Networks and Communications
Computer Networks and CommunicationsComputer Science