Please use this identifier to cite or link to this item: https://www.um.edu.mt/library/oar/handle/123456789/86061
Title: Towards choreographic-based monitoring
Other Titles: Reversible Computation: Extending Horizons of Computing. RC 2020. Lecture Notes in Computer Science, vol 12070
Authors: Francalanza, Adrian
Mezzina, Claudio Antares
Tuosto, Emilio
Keywords: ERLANG (Computer program language)
Computer programs
Object monitors (Computer software)
Computer logic
Computer software -- Monitoring
Issue Date: 2020
Publisher: Springer
Citation: Francalanza, A., Mezzina, C. A., & Tuosto, E. (2020). Towards choreographic-based monitoring. International Conference on Reversible Computation, RC 2020, Oslo. 128-150.
Abstract: Distributed programs are hard to get right because they are required to be open, scalable, long-running, and dependable. In particular, the recent approaches to distributed software based on (micro-) services, where different services are developed independently by disparate teams, exacerbate the problem. Services are meant to be composed together and run in open contexts 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 within the program logic. This 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 in industry. We first propose a model which abstracts away from three aspects: the definition of formal behavioural models encompassing failures; the specification of the relevant properties of adaptation and recovery strategy; and the automatic generation of monitoring, recovery, and adaptation logic in target languages of interest. To show the efficacy of our model, we give an instance of it by introducing reversible choreographies to express the normal forward behaviour of the system and the condition under which adaptation has to take place. Then we show how it is possible to derive Erlang code directly from the global specification.
URI: https://www.um.edu.mt/library/oar/handle/123456789/86061
Appears in Collections:Scholarly Works - FacICTCS

Files in This Item:
File Description SizeFormat 
Towards Choreographic-Based Monitoring.pdf1.57 MBAdobe PDFView/Open


Items in OAR@UM are protected by copyright, with all rights reserved, unless otherwise indicated.