vix.ing · top · new · best · stats · spec

An Erlang Implementation of Multiparty Session Actors

2016/08/10 by Simon Fowler · 1 citation
Computer Science · #Distributed systems and fault tolerance #Logic, programming, and type systems #Service-Oriented Architecture and Web Services #cs.DC #cs.PL

paper · pdf · doi:10.4204/eptcs.223.3

published as EPTCS 223, 2016, pp. 36-50 · In Proceedings ICE 2016, arXiv:1608.03131

openalex publication_date 2016/08/10 · arxiv created 2016/08/11 · arxiv updated 2016/08/12 · openalex created_date 2021/04/13 · openalex updated_date 2026/08/01

Abstract

By requiring co-ordination to take place using explicit message passing instead of relying on shared memory, actor-based programming languages have been shown to be effective tools for building reliable and fault-tolerant distributed systems. Although naturally communication-centric, communication patterns in actor-based applications remain informally specified, meaning that errors in communication are detected late, if at all. Multiparty session types are a formalism to describe, at a global level, the interactions between multiple communicating entities. This article describes the implementation of a prototype framework for monitoring Erlang/OTP genserver applications against multiparty session types, showing how previous work on multiparty session actors can be adapted to a purely actor-based language, and how monitor violations and termination of session participants can be reported in line with the Erlang mantra of "let it fail". Finally, the framework is used to implement two case studies: an adaptation of a freely-available DNS server, and a chat server.

Citations

Cited by

Related