From global choreographies to verifiable efficient distributed implementations
Loading...
Date
Journal Title
Journal ISSN
Volume Title
Publisher
Elsevier Inc.
Abstract
We define a method to automatically synthesize efficient distributed implementations from high-level global choreographies. A global choreography describes the execution and communication logic between a set of provided processes which are described by their interfaces. At the choreography level, the operations include multiparty communications, choice, loop, and branching. A choreography is master triggered: it has one master to trigger its execution. This allows us to automatically generate conflict-free distributed implementations without controllers. The behavior of the synthesized implementations follows the behavior of choreographies. In addition, the absence of controllers ensures the efficiency of the implementation and reduces the communication needed at runtime. Moreover, we define a translation of the distributed implementations to equivalent Promela versions. The translation allows verifying the distributed system against behavioral properties. We implemented a Java prototype to validate the approach and applied it to automatically synthesize micro-service architectures. We also illustrate our method on the automatic synthesis of a verified distributed buying system. © 2020 Elsevier Inc.
Description
Keywords
Distributed database systems, Automatic synthesis, Behavioral properties, Communication logic, Conflict free, Distributed implementation, Distributed systems, Micro services, Multi-party communication, Translation (languages)