arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.24203cs.LOcs.DC
收藏

带全局跳出循环的容错多方会话类型

Fault-Tolerant Multiparty Session Types with Global Escape Loops

Universität Augsburg(奥格斯堡大学)

Lukas Bartl, Julian Linne, Kirstin Peters

AI总结:

该研究扩展了带故障模式的容错多方会话类型FTMPST,新增无需全局协调、带非阻塞退出消息的全局跳出容错循环结构,并通过旋转协调器算法变体验证了方法的可行性,为容错分布式算法的属性验证提供支持。

摘要:

多方会话类型旨在抽象捕捉通信协议的结构并验证行为属性,其中一项重要属性是进展性,即无死锁。分布式算法通常与多方通信协议类似,但证明其属性,尤其是与进展性密切相关的终止性,可能十分复杂。由于分布式算法的设计通常需要应对故障,利用会话类型验证分布式算法的第一步便是整合容错机制。\n我们对FTMPST(一种带故障模式的容错多方会话类型,用于表示不可靠通信、进程崩溃等系统故障下的系统需求)进行了扩展,新增了一种无需全局协调的、带全局跳出的新型容错循环结构。每个进程运行自身的本地循环版本:若某个进程找到所研究问题的解,它不仅会终止自身循环,还会通过退出消息通知其他参与者;进程收到退出消息后会立即终止其算法。为提升效率并对标准容错算法建模,这些消息是非阻塞的,即进程在收到可能延迟的退出消息之前可继续运行。为说明我们的方法,我们分析了Chandra和Toueg提出的著名旋转协调器算法的一个变体。

英文摘要:

Multiparty session types are designed to abstractly capture the structure of communication protocols and verify behavioural properties. One important such property is progress, i.e., the absence of deadlock. Distributed algorithms often resemble multiparty communication protocols. But proving their properties, in particular termination that is closely related to progress, can be elaborate. Since distributed algorithms are often designed to cope with faults, a first step towards using session types to verify distributed algorithms is to integrate fault-tolerance. We extend FTMPST (a version of fault-tolerant multiparty session types with failure patterns to represent system requirements for system failures such as unreliable communication and process crashes) by a novel, fault-tolerant loop construct with global escapes that does not require global coordination. Each process runs its own local version of the loop. If a process finds a solution to the considered problem, it does not only terminate its own loop but also informs the other participants via exit-messages. Upon receiving an exit-message, a process immediately terminates its algorithm. To increase efficiency and model standard fault-tolerant algorithms, these messages are non-blocking, i.e., a process may continue until a possibly delayed exit-message is received. To illustrate our approach, we analyse a variant of the well-known rotating coordinator algorithm by Chandra and Toueg.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑