Abstract
Distributed programs are known to be extremely difficult to implement, test, verify, and maintain. This is due in part to the large number of possible unforeseen interactions among components, and to the difficulty of precisely specifying what the programs should accomplish in a formal language that is intuitively clear to the programmers. We discuss here a methodology that has proven itself in building a state of the art implementation of Multi-Paxos and other distributed protocols used in a deployed database system. This article focuses on the basic ideas of formal EventML programming illustrated by implementing a fault-tolerant consensus protocol and showing how we prove its safety properties with the Nuprl proof assistant.
Original language | English |
---|---|
Number of pages | 15 |
Journal | Electronic Communications of the EASST |
Volume | 72 |
DOIs | |
Publication status | Published - 2015 |
Event | 15th International Workshop on Automated Verification of Critical Systems (AVoCS 2015) - Edinburgh, United Kingdom Duration: 1 Sept 2015 → 4 Sept 2015 |
Keywords
- functional programming
- formal methods
- formal verification
- theorem proving
- distributed systems
- fault tolerance
- event logic
- event-based programming