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

哦拉姆!一个半圆的原子存储器

Oh-RAM! One and a Half Round Atomic Memory

Theophanis Hadjistasi, Nicolas Nicolaou, Alexander A. Schwarzmann

摘要:

在消息传递系统中模拟原子读/写共享对象是分布式计算中的一个基本问题。考虑到网络通信是最昂贵的资源,效率首先根据实现读写操作所需的通信来衡量。众所周知,涉及总共4个消息交换的2个通信往返阶段足以实现原子操作。还已知的是,在相对于副本服务器和故障的数量对读取器的数量的某些约束下,可以实现单写入器原子对象,使得每个操作涉及一个往返阶段。我们提出的算法,允许操作完成3通信交流,而不施加任何限制的读者和作家的数量。具体来说,我们提出了一个原子内存实现的SWMR设置,其中读取完成3个通信交换和写入完成2个交换。我们提出的问题是,是否有可能实现MWMR存储器的操作完成在最多3个通信交换。我们回答这个问题的否定表明,原子内存的实现是不可能的,如果读取和写入操作都需要3个通信交换,即使假设两个作家,两个读者,和一个单一的副本服务器故障。出于这种不可能的结果,我们提供了一个MWMR原子内存实现,其中读取涉及3和写入4通信交换。根据我们的不可能性结果,这些算法在通信交换的数量方面是最优的。我们对算法的正确性进行严格的推理。

英文摘要:

Emulating atomic read/write shared objects in a message-passing system is a fundamental problem in distributed computing. Considering that network communication is the most expensive resource, efficiency is measured first of all in terms of the communication needed to implement read and write operations. It is well known that 2 communication round-trip phases involving in total 4 message exchanges are sufficient to implemented atomic operations. It is also known that under certain constraints on the number of readers with respect to the numbers of replica servers and failures it is possible to implement single-writer atomic objects such that each operation involves one round-trip phase. We present algorithms that allow operations to complete in 3 communication exchanges without imposing any constraints on the number of readers and writers. Specifically, we present an atomic memory implementation for the SWMR setting, where reads complete in 3 communication exchanges and writes complete in 2 exchanges. We pose the question of whether it is possible to implement MWMR memory where operations complete in at most 3 communication exchanges. We answer this question in the negative by showing that an atomic memory implementation is impossible if both read and write operations take 3 communication exchanges, even when assuming two writers, two readers, and a single replica server failure. Motivated by this impossibility result, we provide a MWMR atomic memory implementation where reads involve 3 and writes 4 communication exchanges. In light of our impossibility result these algorithms are optimal in terms of the number of communication exchanges. We rigorously reason about the correctness of the algorithms.

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

↑