Session Types for Link Failures
We strive to use session type technology to prove behavioural properties of fault-tolerant distributed algorithms. Session types are designed to abstractly capture the structure of (even multi-party) communication protocols. The goal of session types is the analysis and verification of the protocols’ behavioural properties. One important such property is progress, i.e., the absence of (unintended) deadlock. Distributed algorithms often resemble (compositions of) multi-party communication protocols. In contrast to protocols that are typically studied with session types, they are often designed to cope with system failures. An essential behavioural property is (successful) termination, despite failures, but it is often elaborate to prove for distributed algorithms.
We extend multi-party session types with optional blocks that cover a limited class of link failures. This allows us to automatically derive termination of distributed algorithms that come within these limits.
KeywordsLocal Type Type System Link Failure Parallel Composition Reduction Rule
- 1.Adameit, M., Peters, K., Nestmann, U.: Session types for link failures. Technical report, TU Berlin (2017). https://arxiv.org
- 2.Bettini, L., Coppo, M., D’Antoni, L., Luca, M., Dezani-Ciancaglini, M., Yoshida, N.: Global progress in dynamically interleaved multiparty sessions. In: Breugel, F., Chechik, M. (eds.) CONCUR 2008. LNCS, vol. 5201, pp. 418–433. Springer, Heidelberg (2008). doi: 10.1007/978-3-540-85361-9_33 CrossRefGoogle Scholar
- 6.Demangeon, R.: Nested protocols in session types. Personal communication about an extended version of  that is currently prepared by R. Demangeon (2015)Google Scholar
- 8.Kouzapas, D., Gutkovas, R., Gay, S.J.: Session types for broadcasting. In: Proceedings of PLACES. EPTCS, vol. 155, pp. 25–31 (2014)Google Scholar