Dynamic multirole session types

symposium on principles of programming languages(2011)

引用 181|浏览24
暂无评分
摘要
Multiparty session types enforce structured safe communications between several participants, as long as their number is fixed when the session starts. In order to handle common distributed interaction patterns such as peer-to-peer protocols or cloud algorithms, we propose a new role-based multiparty session type theory where roles are defined as classes of local behaviours that an arbitrary number of participants can dynamically join and leave. We offer programmers a polling operation that gives access to the current set of a role's participants in order to fork processes. Our type system with universal types for polling can handle this dynamism and retain type safety. A multiparty locking mechanism is introduced to provide communication safety, but also to ensure a stronger progress property for joining participants that has never been guaranteed in previous systems. Finally, we present some implementation mechanisms used in our prototype extension of ML.
更多
查看译文
关键词
auction,type safety,polling operation,dynamic protocols,communications,multiparty,communication safety,new role-based multiparty session,dynamic multirole session type,peer-to-peer,mobile processes,session types,multiparty session type,arbitrary number,universal type,type theory,cloud algorithm,roles,join-leave,type system
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要