计算机科学 > 分布式、并行与集群计算
[提交于 2014年6月13日]
标题:Multiparty Session Actors
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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 mailbox. 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 type-safety and progress of the communicating entities. An actor can implement multiple roles in a similar way as an object can implement multiple interfaces. Multiple roles allow for inter-concurrency in a single actor still preserving its progress property. We demonstrate our framework by designing and implementing a session actor library in Python and its runtime verification mechanism.
提交历史
来自:EPTCS[v1] 2014年6月13日 星期五 10:17:14 UTC