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

释放和加速原子对象实现中的读取器

Unleashing and Speeding Up Readers in Atomic Object Implementations

Chryssis Georgiou, Theophanis Hadjistasi, Nicolas Nicolaou, Alexander A. Schwarzmann

摘要:

在异步、易崩溃的消息传递系统中提供原子读/写对象的有效仿真是分布式计算中的一个重要问题。通信延迟是通常支配消息传递系统的性能的因素,因此实现原子对象的算法的效率是根据每个读写操作中涉及的通信交换的数量来测量的。Attiya、Bar-Noy和Dolev的开创性成果确定了两对通信交换,或者等价地两次往返通信,就足够了。随后的研究探讨了实施的可能性,涉及不到四个交换。Dutta等人的工作表明,对于单写入器/多读取器(SWMR)设置,两个交换是足够的,只要读取器的数量相对于系统中对象副本的数量和副本失败的数量受到严格限制,并且还表明,多写入器/多读取器(MWMR)对象的两个交换实现是不可能的。后来的研究集中在提供消除对读取器数量的限制的实现,同时具有使用可变数量的通信交换(具体地,两个、三个或四个交换)的读取和写入操作。这项工作提出了两个国家的最先进的在这一领域的进展。具体而言,对于SWMR和MWMR系统的算法,其中读取操作需要两个或三个交换。这改进了先前的工作,其中读取操作需要(a)三次交换,或者(b)两次或四次交换。新算法中的读取器数量不受约束,并且写入操作与先前工作中的交换次数相同(SWMR设置为2次,MWMR设置为4次)。算法的正确性是严格论证的。

英文摘要:

Providing efficient emulations of atomic read/write objects in asynchronous, crash-prone, message-passing systems is an important problem in distributed computing. Communication latency is a factor that typically dominates the performance of message-passing systems, consequently the efficiency of algorithms implementing atomic objects is measured in terms of the number of communication exchanges involved in each read and write operation. The seminal result of Attiya, Bar-Noy, and Dolev established that two pairs of communication exchanges, or equivalently two round-trip communications, are sufficient. Subsequent research examined the possibility of implementations that involve less than four exchanges. The work of Dutta et al. showed that for single-writer/multiple-reader (SWMR) settings two exchanges are sufficient, provided that the number of readers is severely constrained with respect to the number of object replicas in the system and the number of replica failures, and also showed that no two exchange implementations of multiple-writer/multiple-reader (MWMR) objects are possible. Later research focused on providing implementations that remove the constraint on the number of readers, while having read and write operations that use variable number of communication exchanges, specifically two, three, or four exchanges. This work presents two advances in the state-of-the-art in this area. Specifically, for SWMR and MWMR systems algorithms are given in which read operations take two or three exchanges. This improves on prior works where read operations took either (a) three exchanges, or (b) two or four exchanges. The number of readers in the new algorithms is unconstrained, and write operations take the same number of exchanges as in prior work (two for SWMR and four for MWMR settings). The correctness of algorithms is rigorously argued.

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

↑