On Asynchrony and Choreographies
Lu\'is Cruz-Filipe (University of Southern Denmark), Fabrizio Montesi, (University of Southern Denmark)

TL;DR
This paper formalizes asynchronous semantics for choreographic programming, enabling non-blocking message sending and reception guarantees, aligning choreographies with real-world asynchronous communication systems.
Contribution
It introduces a formal asynchronous semantics for choreographies, ensuring message delivery properties and leveraging out-of-order execution to model asynchronous communication.
Findings
The asynchronous semantics satisfies message delivery properties.
It aligns choreographies with FIFO-based messaging.
The approach can be extended to complex models.
Abstract
Choreographic Programming is a paradigm for the development of concurrent software, where deadlocks are prevented syntactically. However, choreography languages are typically synchronous, whereas many real-world systems have asynchronous communications. Previous attempts at enriching choreographies with asynchrony rely on ad-hoc constructions, whose adequacy is only argued informally. In this work, we formalise the properties that an asynchronous semantics for choreographies should have: messages can be sent without the intended receiver being ready, and all sent messages are eventually received. We explore how out-of-order execution, used in choreographies for modelling concurrency, can be exploited to endow choreographies with an asynchronous semantics. Our approach satisfies the properties we identified. We show how our development yields a pleasant correspondence with FIFO-based…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
