arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1712.08205cs.DCcs.DS
收藏

执行公平性缺失时的实用自稳定向量时钟

Practically-Self-Stabilizing Vector Clocks in the Absence of Execution Fairness

Iosif Salem, Elad Michael Schiller

摘要:

矢量时钟算法是基本的无等待构建块,有助于事件的因果排序。作为无等待算法,它们保证在有限数量的步骤内完成操作。稳定算法允许系统在发生瞬时故障后恢复,例如软错误和任意违反系统设计行为所依据的假设。我们提出了第一个,据我们所知,稳定的矢量时钟算法的异步容易崩溃的消息传递系统,可以恢复在一个无等待的方式发生瞬时故障后。在这些设置中,证明从(通信和崩溃故障以及)瞬时故障中的有限且无等待的恢复,限制消息和存储大小,处理所有陈旧信息的移除而不阻塞,以及处理计数器溢出事件(在不同网络节点同时发生)是具有挑战性的。我们提出了一个算法,从来没有违反安全的情况下,瞬态故障,并提供有限的时间恢复公平执行,遵循最后的瞬态故障。新颖之处在于,在没有执行公平性的情况下,该算法保证了系统可能违反安全性的次数的界限(而现有算法可能由于瞬时故障和崩溃故障的存在而永远阻塞)。由于矢量时钟促进了一些基本的同步构建块(不需要远程副本同步)在异步系统中,我们相信,我们的分析见解是有用的其他系统的设计,不能保证执行的公平性。

英文摘要:

Vector clock algorithms are basic wait-free building blocks that facilitate causal ordering of events. As wait-free algorithms, they are guaranteed to complete their operations within a finite number of steps. Stabilizing algorithms allow the system to recover after the occurrence of transient faults, such as soft errors and arbitrary violations of the assumptions according to which the system was designed to behave. We present the first, to the best of our knowledge, stabilizing vector clock algorithm for asynchronous crash-prone message-passing systems that can recover in a wait-free manner after the occurrence of transient faults. In these settings, it is challenging to demonstrate a finite and wait-free recovery from (communication and crash failures as well as) transient faults, bound the message and storage sizes, deal with the removal of all stale information without blocking, and deal with counter overflow events (which occur at different network nodes concurrently). We present an algorithm that never violates safety in the absence of transient faults and provides bounded time recovery during fair executions that follow the last transient fault. The novelty is that in the absence of execution fairness, the algorithm guarantees a bound on the number of times in which the system might violate safety (while existing algorithms might block forever due to the presence of both transient faults and crash failures). Since vector clocks facilitate a number of elementary synchronization building blocks (without requiring remote replica synchronization) in asynchronous systems, we believe that our analytical insights are useful for the design of other systems that cannot guarantee execution fairness.

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

↑