全局控制的会话语义
Globally Governed Session Semantics
摘要:
本文提出了一种基于多方会话类型的互模拟理论,其中编排规范管理会话类型进程及其观察者的行为。互模拟的定义与观察者与所观察到的进程合作,以形成完整的全局会话场景,并可用于证明全局协调线程和进程的优化的正确性。诱导互模拟比标准会话互模拟严格地更细粒度。只有当存在两个以上的交错多方会话时,受控制的互模拟和标准互模拟之间的差异才会出现。这个独特的功能使得能够在大规模分布式系统中推理真实场景,其中多个编排会话需要交错。通过关于受支配的基于约简的同余的可靠性和完备性,证明了受支配的双相似性的组合性。最后,在一个大规模网络基础架构的实际应用中,通过一个多会话控制下的线程转换演示了该方法的使用。
英文摘要:
This paper proposes a bisimulation theory based on multiparty session types where a choreography specification governs the behaviour of session typed processes and their observer. The bisimulation is defined with the observer cooperating with the observed process in order to form complete global session scenarios and usable for proving correctness of optimisations for globally coordinating threads and processes. The induced bisimulation is strictly more fine-grained than the standard session bisimulation. The difference between the governed and standard bisimulations only appears when more than two interleaved multiparty sessions exist. This distinct feature enables to reason real scenarios in the large-scale distributed system where multiple choreographic sessions need to be interleaved. The compositionality of the governed bisimilarity is proved through the soundness and completeness with respect to the governed reduction-based congruence. Finally, its usage is demonstrated by a thread transformation governed under multiple sessions in a real usecase in the large-scale cyberinfrustracture.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。