异步消息传递模型的 Heard-Of 谓词的特征化与推导
Characterization and Derivation of Heard-Of Predicates for Asynchronous Message-Passing Models
AI总结:
本文提出通过传递谓词作为中间抽象,分两步特征化异步消息传递模型的 heard-of 谓词,并定义组合操作与轮次更换策略,以有效推导复杂模型的谓词。
摘要:
在分布式计算中,多个进程通过交互共同解决问题。主要的交互模型是消息传递模型,其中进程通过交换消息进行通信。然而,存在多种模型,它们沿着重要维度有所不同:同步程度、故障类型、故障数量……这种多样性因缺乏一种通用形式化体系来抽象这些模型而变得更加复杂。一种带来秩序的方法是限制这些模型以轮次进行通信。这是 Heard-Of 模型的设置,它通过关于在一轮中发送并按时接收的消息的谓词来捕获许多模型。然而,定义捕获给定操作模型的谓词并不容易。对于异步情况,问题甚至更难,因为无界消息延迟意味着轮次的实现必须依赖于模型的细节。本文表明,通过 heard-of 谓词来特征化异步模型确实是富有意义的。这种特征化依赖于传递谓词,这是非正式操作模型与 heard-of 谓词之间的中间抽象。我们的方法将问题分为两步:首先提取捕获非正式模型的传递模型,然后特征化由该传递模型生成的 heard-of 谓词。对于第一部分,我们提供了传递谓词的示例,以及推导更多传递谓词的方法。它利用这样的直觉:复杂模型是简单模型的组合。我们定义了诸如并、继或重复等操作,这些操作使得从简单传递谓词推导复杂传递谓词变得更加容易,同时保持表达力。对于第二部分,我们形式化并研究了何时更换轮次的策略。直观上,模型的特征化谓词是由一种策略生成的,该策略尽可能多地等待消息,而不会永久阻塞。
英文摘要:
In distributed computing, multiple processes interact to solve a problem together. The main model of interaction is the message-passing model, where processes communicate by exchanging messages. Nevertheless, there are several models varying along important dimensions: degree of synchrony, kinds of faults, number of faults... This variety is compounded by the lack of a general formalism in which to abstract these models. One way to bring order is to constrain these models to communicate in rounds. This is the setting of the Heard-Of model, which captures many models through predicates on the messages sent in a round and received on time. Yet, it is not easy to define the predicate that captures a given operational model. The question is even harder for the asynchronous case, as unbounded message delay means the implementation of rounds must depend on details of the model. This paper shows that characterising asynchronous models by heard-of predicates is indeed meaningful. This characterization relies on delivered predicates, an intermediate abstraction between the informal operational model and the heard-of predicates. Our approach splits the problem into two steps: first extract the delivered model capturing the informal model, and then characterize the heard-of predicates that are generated by this delivered model. For the first part, we provide examples of delivered predicates, and an approach to derive more. It uses the intuition that complex models are a composition of simpler models. We define operations like union, succession or repetition that make it easier to derive complex delivered predicates from simple ones while retaining expressivity. For the second part, we formalize and study strategies for when to change rounds. Intuitively, the characterizing predicate of a model is the one generated by a strategy that waits for as much messages as possible, without blocking forever.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。