MAG $π$:故障倾向通信的类型
MAG$π$: Types for Failure-Prone Communication
摘要:
多方会话类型(MPST)是一种用于以通信为中心的系统的类型规则,可以保证通信安全、无死锁和协议遵从性。已经出现了几个工程模型的故障,并引入容错技术。然而,这样的工作经常对底层网络做出假设,例如,基于TCP的通信,保证消息的传递;或者采用集中的可靠节点和ad-hoc可靠性概念;或者只解决单一类型的故障,例如节点崩溃故障。在这项工作中,我们开发了MAG $π$ --一个多方、异步和通用的$π$演算,它是第一个语言和类型系统,以适应一致:(i)最广泛的非拜占庭故障,包括消息丢失、延迟和重新排序;崩溃故障和链路故障;和网络分区;(ii)一个新的和最普遍的概念的可靠性,考虑到每个参与者的观点,在协议;(iii)频谱的网络假设从最低的UDP为基础的网络编程的TCP为基础的应用程序的水平。我们证明了主题约简和会话保真度;进程属性(死锁自由,终止等);故障处理的安全性和可靠性。
英文摘要:
Multiparty Session Types (MPST) are a typing discipline for communication-centric systems, guaranteeing communication safety, deadlock freedom and protocol compliance. Several works have emerged which model failures and introduce fault-tolerance techniques. However, such works often make assumptions on the underlying network, e.g., TCP-based communication where messages are guaranteed to be delivered; or adopt centralised reliable nodes and an ad-hoc notion of reliability; or only address a single kind of failure, such as node crash failures. In this work, we develop MAG$π$ -- a Multiparty, Asynchronous and Generalised $π$-calculus, which is the first language and type system to accommodate in unison: (i) the widest range of non-Byzantine faults, including message loss, delays and reordering; crash failures and link failures; and network partitioning; (ii) a novel and most general notion of reliability, taking into account the viewpoint of each participant in the protocol; (iii) a spectrum of network assumptions from the lowest UDP-based network programming to the TCP-based application level. We prove subject reduction and session fidelity; process properties (deadlock freedom, termination, etc.); failure-handling safety and reliability adherence.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。