Reversibility in session-based concurrency: A fresh look

Citation data:

Journal of Logical and Algebraic Methods in Programming, ISSN: 2352-2208, Vol: 90, Page: 2-30

Publication Year:
2017
Usage 1
Abstract Views 1
Social Media 1
Tweets 1
Citations 4
Citation Indexes 4
DOI:
10.1016/j.jlamp.2017.03.003
Author(s):
Claudio Antares Mezzina; Jorge A. Pérez
Publisher(s):
Elsevier BV
Tags:
Mathematics; Computer Science
Most Recent Tweet View All Tweets
article description
Much research has studied foundations for correct and reliable communication-centric software systems. A salient approach to correctness uses verification based on session types to enforce structured communications; a recent approach to reliability uses reversible actions as a way of reacting to unanticipated events or failures. In this paper, we develop a simple observation: the semantic machinery required to define asynchronous (queue-based), monitored communications can also support reversible protocols. We propose a framework of session communication in which monitors support reversibility of (untyped) processes. Main novelty in our approach are session types with present and past, which allow us to streamline the semantics of reversible actions. We prove that reversibility in our framework is causally consistent, and define ways of using monitors to control reversible actions.