Reversibility in session-based concurrency: A fresh look

Claudio Antares Mezzina, Jorge A. Pérez

Research output: Contribution to journalArticleAcademicpeer-review

9 Citations (Scopus)
86 Downloads (Pure)

Abstract

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.
Original languageEnglish
Pages (from-to)2-30
Number of pages29
JournalThe Journal of Logical and Algebraic Methods in Programming
Volume90
DOIs
Publication statusPublished - Aug-2017

Keywords

  • SEMANTICS
  • CONTRACTS
  • MULTIPARTY SESSIONS
  • PI-CALCULUS

Cite this