Towards Multiparty Session Types for Highly-Concurrent and Fault-Tolerant Web Applications

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Casetta, Richard, Gesbert, Nils, Genevès, Pierre
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913015629086720
author Casetta, Richard
Gesbert, Nils
Genevès, Pierre
author_facet Casetta, Richard
Gesbert, Nils
Genevès, Pierre
contents Modern web applications combine persistent state updates, concurrent interactions, and unreliable communication with external services. Failures such as timeouts can occur after partial state changes, producing temporary inconsistencies whose resolution depends on liveness properties that are often not verified in practice. Although formal methods offer rigorous guarantees for reasoning about complex software, they remain rarely adopted in enterprise settings due to their perceived complexity and lack of practical automation. Multiparty Session Types (MPST) offer strong guarantees for communication safety, yet they do not account for the interplay between state evolution, dynamic workflow structure, and failure behaviour that are essential for reasoning about the correctness of real web applications. This paper introduces a global-type framework that equips MPST with explicit failure semantics and dynamic participation. We define the syntax and operational semantics of these enriched global types and establish core properties, including coherence preservation. This foundation enables formal reasoning about communications in web applications where failures may occur, and lays the groundwork for future stateful extensions and automated verification of liveness properties.
format Preprint
id arxiv_https___arxiv_org_abs_2604_06878
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Towards Multiparty Session Types for Highly-Concurrent and Fault-Tolerant Web Applications
Casetta, Richard
Gesbert, Nils
Genevès, Pierre
Programming Languages
Logic in Computer Science
Modern web applications combine persistent state updates, concurrent interactions, and unreliable communication with external services. Failures such as timeouts can occur after partial state changes, producing temporary inconsistencies whose resolution depends on liveness properties that are often not verified in practice. Although formal methods offer rigorous guarantees for reasoning about complex software, they remain rarely adopted in enterprise settings due to their perceived complexity and lack of practical automation. Multiparty Session Types (MPST) offer strong guarantees for communication safety, yet they do not account for the interplay between state evolution, dynamic workflow structure, and failure behaviour that are essential for reasoning about the correctness of real web applications. This paper introduces a global-type framework that equips MPST with explicit failure semantics and dynamic participation. We define the syntax and operational semantics of these enriched global types and establish core properties, including coherence preservation. This foundation enables formal reasoning about communications in web applications where failures may occur, and lays the groundwork for future stateful extensions and automated verification of liveness properties.
title Towards Multiparty Session Types for Highly-Concurrent and Fault-Tolerant Web Applications
topic Programming Languages
Logic in Computer Science
url https://arxiv.org/abs/2604.06878