PSync: a partially synchronous language for fault-tolerant distributed algorithms. Fault-tolerant distributed algorithms play an important role in many critical/high-availability applications. These algorithms are notoriously difficult to implement correctly, due to asynchronous communication and the occurrence of faults, such as the network dropping messages or computers crashing. We introduce PSync, a domain specific language based on the Heard-Of model, which views asynchronous faulty systems as synchronous ones with an adversarial environment that simulates asynchrony and faults by dropping messages. We define a runtime system for PSync that efficiently executes on asynchronous networks. We formalise the relation between the runtime system and PSync in terms of observational refinement. The high-level lockstep abstraction introduced by PSync simplifies the design and implementation of fault-tolerant distributed algorithms and enables automated formal verification. We have implemented an embedding of PSync in the Scala programming language with a runtime system for partially synchronous networks. We show the applicability of PSync by implementing several important fault-tolerant distributed algorithms and we compare the implementation of consensus algorithms in PSync against implementations in other languages in terms of code size, runtime efficiency, and verification.
Keywords for this software
References in zbMATH (referenced in 5 articles )
Showing results 1 to 5 of 5.
- Shimi, Adam; Hurault, Aurélie; Queinnec, Philippe: Characterization and derivation of heard-of predicates for asynchronous message-passing models (2021)
- Chevrou, Florent; Hurault, Aurélie; Quéinnec, Philippe: A modular framework for verifying versatile distributed systems (2019)
- Konnov, Igor; Lazić, Marijana; Veith, Helmut; Widder, Josef: A short counterexample property for safety and liveness verification of fault-tolerant distributed algorithms (2017)
- Konnov, Igor; Lazić, Marijana; Veith, Helmut; Widder, Josef: (\textPara^2): parameterized path reduction, acceleration, and SMT for reachability in threshold-guarded distributed algorithms (2017)
- Drăgoi, Cezara; Henzinger, Thomas A.; Zufferey, Damien: \textscPSync: a partially synchronous language for fault-tolerant distributed algorithms (2016)