Please use this identifier to cite or link to this item:
http://bura.brunel.ac.uk/handle/2438/17357
Title: | Multiparty session actors |
Authors: | Neykova, R Yoshida, N |
Keywords: | Session type;Protocol description language;Actors;Python;Messaging Middleware |
Issue Date: | 2017 |
Publisher: | Logical Methods in Computer Science |
Citation: | Logical Methods in Computer Science |
Abstract: | Actor coordination armoured with a suitable protocol description language has been a pressing problem in the actors community. We study the applicability of multiparty session type (MPST) protocols for verification of actor programs. We incorporate sessions to actors by introducing minimum additions to the model such as the notion of actor roles and protocol mailboxes. The framework uses Scribble, which is a protocol description language based on multiparty session types. Our programming model supports actor-like syntax and runtime verification mechanism guaranteeing communication safety of the participating entities. An actor can implement multiple roles in a similar way as an object can implement multiple interfaces. Multiple roles allow for cooperative inter-concurrency in a single actor. We demonstrate our framework by designing and implementing a session actor library in Python and its runtime verification mechanism. Benchmark results demonstrate that the runtime checks induce negligible overhead. We evaluate the applicability of our verification framework to specify actor interactions by implementing twelve examples from an actor benchmark suit. |
URI: | http://bura.brunel.ac.uk/handle/2438/17357 |
DOI: | http://dx.doi.org/10.23638/LMCS-13(1:17)2017 |
ISSN: | 1860-5974 1860-5974 |
Appears in Collections: | Dept of Computer Science Research Papers |
Files in This Item:
File | Description | Size | Format | |
---|---|---|---|---|
FullText.pdf | 560.36 kB | Adobe PDF | View/Open |
Items in BURA are protected by copyright, with all rights reserved, unless otherwise indicated.