Skip to main navigation Skip to search Skip to main content

Generalised Multiparty Session Types with Crash-Stop Failures

  • Imperial College London

Research output: Chapter in Book/Report/Conference proceedingArticle in proceedingsResearchpeer-review

43 Downloads (Orbit)

Abstract

Session types enable the specification and verification of communicating systems. However, their theory often assumes that processes never fail. To address this limitation, we present a generalised multiparty session type (MPST) theory with crash-stop failures, where processes can crash arbitrarily. Our new theory validates more protocols and processes w.r.t. previous work. We apply minimal syntactic changes to standard session π-calculus and types: we model crashes and their handling semantically, with a generalised MPST typing system parametric on a behavioural safety property. We cover the spectrum between fully reliable and fully unreliable sessions, via optional reliability assumptions, and prove type safety and protocol conformance in the presence of crash-stop failures. Introducing crash-stop failures has non-trivial consequences: writing correct processes that handle all crash scenarios can be difficult. Yet, our generalised MPST theory allows us to tame this complexity, via model checking, to validate whether a multiparty session satisfies desired behavioural properties, e.g. deadlock-freedom or liveness, even in presence of crashes. We implement our approach using the mCRL2 model checker, and evaluate it with examples extended from the literature.
Original languageEnglish
Title of host publicationProceedings of 33rd International Conference on Concurrency Theory
Number of pages25
Volume243
PublisherSchloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing
Publication date2022
Article number35
ISBN (Print)978-3-95977-246-4
DOIs
Publication statusPublished - 2022
Event33rd International Conference on Concurrency Theory - University of Warsaw, Warsaw, Poland
Duration: 13 Sept 202218 Sept 2022
Conference number: 33
https://concur2022.mimuw.edu.pl/

Conference

Conference33rd International Conference on Concurrency Theory
Number33
LocationUniversity of Warsaw
Country/TerritoryPoland
CityWarsaw
Period13/09/202218/09/2022
Internet address
SeriesLeibniz International Proceedings in Informatics, LIPIcs
Volume243
ISSN1868-8969

Keywords

  • Session Types
  • Concurrency
  • Failure Handling
  • Model Checking

Fingerprint

Dive into the research topics of 'Generalised Multiparty Session Types with Crash-Stop Failures'. Together they form a unique fingerprint.

Cite this