arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1805.01657cs.DC
收藏

通过轮描述异步消息传递模型

Characterizing Asynchronous Message-Passing Models Through Rounds

Adam Shimi, Aurélie Hurault, Philippe Quéinnec

摘要:

分布式计算的消息传递模型在许多方面都有所不同:同步程度、故障类型、故障数量.不幸的是,模型的数量和它们之间的细微差别阻碍了我们设计消息传递模型的一般理论的能力。解决这个难题的一个方法是限制通信按轮进行。然后,通过在一轮中发送的消息和在此轮期间或之前接收的消息上的谓词,可以在Heard-Of模型中捕获各种各样的消息传递模型。然后,问题是找到最准确的Heard-Of谓词来捕获给定的模型。这在同步模型中很简单,因为等待通信延迟的上限可以确保接收到所有可用的消息,而不是永远等待。另一方面,P2P允许无限的消息延迟。然而,Heard-Of谓词是否对异步模型有意义的描述?我们通过引入Delivered collections来形式化这种特征:在每一轮中传递的所有消息的集合,无论是否迟到。Delivered集合上的谓词捕获消息传递模型。问题是确定给定的Delivered谓词可以生成哪些Heard-Of谓词。我们通过正式制定何时改变策略来回答这个问题。由于这些策略的偏序,我们还找到了多个模型的“最佳”策略,其中“最佳”直观地意味着它等待尽可能多的消息,而不是永远等待。最后,一个永远不会阻塞进程的轮变换策略实现了Heard-Of谓词。这允许我们将策略的顺序转换为Heard-Of谓词的顺序。如果模型的特征谓词存在的话,那么它就是该阶的最大元素。

英文摘要:

Message-passing models of distributed computing vary along numerous dimensions: degree of synchrony, kind of faults, number of faults... Unfortunately, the sheer number of models and their subtle distinctions hinder our ability to design a general theory of message-passing models. One way out of this conundrum restricts communication to proceed by round. A great variety of message-passing models can then be captured in the Heard-Of model, through predicates on the messages sent in a round and received during or before this round. Then, the issue is to find the most accurate Heard-Of predicate to capture a given model. This is straightforward in synchronous models, because waiting for the upper bound on communication delay ensures that all available messages are received, while not waiting forever. On the other hand, asynchrony allows unbounded message delays. Is there nonetheless a meaningful characterization of asynchronous models by a Heard-Of predicate? We formalize this characterization by introducing Delivered collections: the collections of all messages delivered at each round, whether late or not. Predicates on Delivered collections capture message-passing models. The question is to determine which Heard-Of predicates can be generated by a given Delivered predicate. We answer this by formalizing strategies for when to change round. Thanks to a partial order on these strategies, we also find the "best" strategy for multiple models, where "best" intuitively means it waits for as many messages as possible while not waiting forever. Finally, a strategy for changing round that never blocks a process forever implements a Heard-Of predicate. This allows us to translate the order on strategies into an order on Heard-Of predicates. The characterizing predicate for a model is then the greatest element for that order, if it exists.

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

↑