Designing Asynchronous Multiparty Protocols with Crash-Stop Failures (Artifact)
- 1. University of St. Andrews and University of Oxford
- 2. University of Oxford
- 3. Imperial College London and University of Oxford
Description
We introduce Teatrino, a toolchain that supports
handling multiparty protocols with crash-stop fail-
ures and crash-handling behaviours. Teatrino
accompanies the novel MPST theory in the related
article, and enables users to generate fault-tolerant
protocol-conforming Scala code from Scribble
protocols. Local types are projected from the global
protocol, enabling correctness-by-construction, and
are expressed directly as Scala types via the
Effpi concurrency library. Teatrino extends both
Scribble and Effpi with support for crash-stop
behaviour. The generated Scala code is execut-
able and can be further integrated with existing
systems. The accompanying theory in the related
article guarantees deadlock-freedom and liveness
properties for failure handling protocols and their
implementation. This artifact includes examples,
extended from both session type and distributed
systems literature, featured in the related article.
Files
README.md
Files
(1.4 GB)
Name | Size | Download all |
---|---|---|
md5:94cc09960ca3a9558cc30925291eca5d
|
1.4 GB | Download |
md5:4917702510fb1eb87a6f53ed1e859285
|
14.1 kB | Preview Download |