relation: http://eprints.imtlucca.it/3794/ title: Reliability and Fault-Tolerance by Choreographic Design creator: Cassar, Ian creator: Francalanza, Adrian creator: Mezzina, Claudio Antares creator: Tuosto, Emilio subject: QA76 Computer software description: Distributed programs are hard to get right because they are required to be open, scalable, long-running, and tolerant to faults. In particular, the recent approaches to distributed software based on (micro-)services where different services are developed independently by disparate teams exacerbate the problem. In fact, services are meant to be composed together and run in open context where unpredictable behaviours can emerge. This makes it necessary to adopt suitable strategies for monitoring the execution and incorporate recovery and adaptation mechanisms so to make distributed programs more flexible and robust. The typical approach that is currently adopted is to embed such mechanisms in the program logic, which makes it hard to extract, compare and debug. We propose an approach that employs formal abstractions for specifying failure recovery and adaptation strategies. Although implementation agnostic, these abstractions would be amenable to algorithmic synthesis of code, monitoring and tests. We consider message-passing programs (a la Erlang, Go, or MPI) that are gaining momentum both in academia and industry. Our research agenda consists of (1) the definition of formal behavioural models encompassing failures, (2) the specification of the relevant properties of adaptation and recovery strategy, (3) the automatic generation of monitoring, recovery, and adaptation logic in target languages of interest. publisher: Open Publishing Association date: 2017 type: Conference or Workshop Item type: PeerReviewed format: application/pdf language: en rights: cc_by_nd identifier: http://eprints.imtlucca.it/3794/1/paper.cgi_PrePost17.6.pdf identifier: Cassar, Ian and Francalanza, Adrian and Mezzina, Claudio Antares and Tuosto, Emilio Reliability and Fault-Tolerance by Choreographic Design. In: 2. International Workshop on Pre- and Post-Deployment Verification Techniques, September 19, 2017, Torino, Italy pp. 69-80. (2017) relation: https://doi.org/10.4204/EPTCS.254.6 relation: doi: 10.4204/EPTCS.254