A Session Type System for Asynchronous Unreliable Broadcast Communication

Session types are formal specifications of communication protocols, allowing protocol implementations to be verified by typechecking. Up to now, session type disciplines have assumed that the communication medium is reliable, with no loss of messages. However, unreliable broadcast communication is common in a wide class of distributed systems such as ad-hoc and wireless sensor networks. Often such systems have structured communication patterns that should be amenable to analysis by means of session types, but the necessary theory has not previously been developed. We introduce the Unreliable Broadcast Session Calculus, a process calculus with unreliable broadcast communication, and equip it with a session type system that we show is sound. We capture two common operations, broadcast and gather, inhabiting dual session types. Message loss may lead to non-synchronised session endpoints. To further account for unreliability we provide with an autonomous recovery mechanism that does not require acknowledgements from session participants. Our type system ensures soundness, safety, and progress between the synchronised endpoints within a session. We demonstrate the expressiveness of our framework by implementing Paxos, the textbook protocol for reaching consensus in an unreliable, asynchronous network.

Authors

Institutions

Publication Details

Journal
Logical Methods in Computer Science
Published
2024-08-05
DOI
https://doi.org/10.46298/lmcs-20(3:13)2024
Primary Topic
Distributed systems and fault tolerance
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Session Type System for Asynchronous Unreliable Broadcast Communication

Dimitrios Kouzapas, A. Laura Voinea, Simon J. Gay, Ramūnas Gutkovas
Logical Methods in Computer Science
Distributed systems and fault tolerance
article

A Session Type System for Asynchronous Unreliable Broadcast Communication

Dimitrios Kouzapas, A. Laura Voinea, Simon J. Gay, Ramūnas Gutkovas
article en

Abstract

Session types are formal specifications of communication protocols, allowing protocol implementations to be verified by typechecking. Up to now, session type disciplines have assumed that the communication medium is reliable, with no loss of messages. However, unreliable broadcast communication is common in a wide class of distributed systems such as ad-hoc and wireless sensor networks. Often such systems have structured communication patterns that should be amenable to analysis by means of session types, but the necessary theory has not previously been developed. We introduce the Unreliable Broadcast Session Calculus, a process calculus with unreliable broadcast communication, and equip it with a session type system that we show is sound. We capture two common operations, broadcast and gather, inhabiting dual session types. Message loss may lead to non-synchronised session endpoints. To further account for unreliability we provide with an autonomous recovery mechanism that does not require acknowledgements from session participants. Our type system ensures soundness, safety, and progress between the synchronised endpoints within a session. We demonstrate the expressiveness of our framework by implementing Paxos, the textbook protocol for reaching consensus in an unreliable, asynchronous network.

Logical Methods in Computer ScienceVol. Volume 20, Issue 3
Ericsson (Sweden) (SE), University of Cyprus (CY), University of Glasgow (GB)
Horizon 2020 Framework Programme, Engineering and Physical Sciences Research Council
Peace, Justice and strong institutions
Openalex Percentile: Top 87%
Distributed systems and fault tolerance
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

A Session Type System for Asynchronous Unreliable Broadcast Communication — Dimitrios Kouzapas, A. Laura Voinea, et al. · Logical Methods in Computer Science (2024) | TGRS Research Map | TGRS