局部读复制对象的参数化算法
Parameterized algorithm for replicated objects with local reads
摘要:
我们考虑的问题,实现线性对象,支持读和读-修改-写(RMW)操作的消息传递系统与进程崩溃。由于在许多系统中,读操作的数量远远超过RMW操作,我们对强调读操作效率的实现感兴趣。我们提出了一个参数化算法的部分同步系统中的进程可以访问外部时钟内同步$ε$。使用此算法,每个读操作都是本地的(直观地说,它不会触发消息)。如果读取与冲突的RMW不并发,则立即执行而无需等待;此外,即使具有并发冲突的RMW,读取在最坏情况下也经历非常小的延迟。例如,可以设置算法的参数以确保在最坏情况下每次读取都花费$ε$时间。据我们所知,这是第一个算法,以实现这一界限的部分同步系统,我们假设在这里。我们的参数化算法推广了Chandra等人[6]的(非参数化)基于租赁的算法,其中读取的最坏情况时间是$3δ$,其中$δ$是最大消息延迟。该算法的参数可用于权衡读取和RMW操作的最坏情况时间。它们还可以用来利用这样一个事实,即在许多消息传递系统中,大多数消息的延迟都比最大消息延迟小一个数量级~ $δ$:例如,可以设置参数,以便在消息延迟为$δ^* \ll δ$的“好”周期中,读取最多花费$ε$时间,而RMW最多花费$3 δ^*$时间。
英文摘要:
We consider the problem of implementing linearizable objects that support both read and read-modify-write (RMW) operations in message-passing systems with process crashes. Since in many systems read operations vastly outnumber RMW operations, we are interested in implementations that emphasize the efficiency of read operations. We present a parametrized algorithm for partially synchronous systems where processes have access to external clocks that are synchronized within $ε$. With this algorithm, every read operation is local (intuitively, it does not trigger messages). If a read is not concurrent with a conflicting RMW, it is performed immediately with no waiting; furthermore, even with a concurrent conflicting RMW, a read experiences very little delay in the worst-case. For example, the algorithm's parameters can be set to ensure that every read takes $ε$ time in the worst-case. To the best of our knowledge this is the first algorithm to achieve this bound in the partially synchronous systems that we assume here. Our parametrized algorithm generalizes the (non-parameterized) lease-based algorithm of Chandra et al. [6] where the worst-case time for reads is $3δ$, where $δ$ is the maximum message delay. The algorithm's parameters can be used to trade-off the worst-case times for read and RMW operations. They can also be used to take advantage of the fact that in many message-passing systems the delay of most messages is order of magnitudes smaller than the maximum message delay~$δ$: for example, the parameters can be set so that, in "nice" periods where message delays are $δ^* \ll δ$, reads take at most $ε$ time while RMWs take at most $3 δ^*$ time.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。