在多方编排中合并多方协议
Merging Multiparty Protocols in Multiparty Choreographies
摘要:
基于编排的编程是从全局角度定义基于通信的系统的强大范例。编排可以根据多方协议规范进行检查,这些规范作为行为类型给出,可以在运行时无限地实例化。每个协议实例都是在所涉及的对等体之间同步启动的。我们分析了一个简单的转换,从一个编排与可能无限数量的协议实例化的编排实例化一个单一的协议,这是原来的合并。这给出了一个有效的方法来获得新的协议组成现有的。此外,通过删除启动协议实例所需的所有同步,我们的转换减少了执行编排所需的通信和资源的数量。
英文摘要:
Choreography-based programming is a powerful paradigm for defining communication-based systems from a global viewpoint. A choreography can be checked against multiparty protocol specifications, given as behavioural types, that may be instantiated indefinitely at runtime. Each protocol instance is started with a synchronisation among the involved peers. We analyse a simple transformation from a choreography with a possibly unbounded number of protocol instantiations to a choreography instantiating a single protocol, which is the merge of the original ones. This gives an effective methodology for obtaining new protocols by composing existing ones. Moreover, by removing all synchronisations required for starting protocol instances, our transformation reduces the number of communications and resources needed to execute a choreography.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。