DocumentCode
244341
Title
Developing Correctly Replicated Databases Using Formal Tools
Author
Schiper, Nicolas ; Rahli, Vincent ; van Renesse, R. ; Bickford, Marck ; Constable, Robert L.
fYear
2014
fDate
23-26 June 2014
Firstpage
395
Lastpage
406
Abstract
Fault-tolerant distributed systems often contain complex error handling code. Such code is hard to test or model-check because there are often too many possible failure scenarios to consider. As we will demonstrate in this paper, formal methods have evolved to a state in which it is possible to generate this code along with correctness guarantees. This paper describes our experience with building highly-available databases using replication protocols that were generated with the help of correct-by-construction formal methods. The goal of our project is to obtain databases with unsurpassed reliability while providing good performance. We report on our experience using a total order broadcast protocol based on Paxos and specified using a new formal language called Event ML. We compile Event ML specifications into a form that can be formally verified while simultaneously obtaining code that can be executed. We have developed two replicated databases based on this code and show that they have performance that is competitive with popular databases in one of the two considered benchmarks.
Keywords
formal languages; formal specification; formal verification; replicated databases; software fault tolerance; EventML specification compiling; Paxos; complex error handling code; correct-by-construction formal method; correctly replicated databases; fault-tolerant distributed systems; formal language; formal tools; highly-available databases; total order broadcast protocol; Clocks; Cognition; Computational modeling; Distributed databases; Protocols; Semantics; Fault-tolerance; correct-by-construction distributed protocols; database replication; formal tools;
fLanguage
English
Publisher
ieee
Conference_Titel
Dependable Systems and Networks (DSN), 2014 44th Annual IEEE/IFIP International Conference on
Conference_Location
Atlanta, GA
Type
conf
DOI
10.1109/DSN.2014.45
Filename
6903597
Link To Document