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

关于k-原子性验证问题

On the k-Atomicity-Verification Problem

Wojciech Golab, Jeremy Hurwitz, Xiaozhou, Li

摘要:

现代互联网规模的存储系统通常提供弱一致性,以换取更好的性能和弹性。一个重要的弱一致性属性是k-atomicity,它限制了读操作返回值的过时性。k-atomicity-verification problem(简称k-AV)是判断一个给定的操作历史是否是k-atomic的问题。1-AV问题等价于验证原子性/线性化能力,这是一个众所周知且已解决的问题。然而,对于k > 2,没有多项式时间k-AV算法是已知的。本文对解决k-AV问题做出了以下贡献。首先,我们提出了一个简单的2- AV算法称为LBT,这是可能是有效的(准线性)的历史,在实践中出现的,虽然它是不太有效的(二次)在最坏的情况下。其次,我们提出了一个更复杂的2-AV算法,称为FZF,即使在最坏的情况下,它也能有效地运行(准线性)。据我们所知,这些是第一个完全解决2-AV问题的算法。第三,我们证明了加权k-AV问题,k-AV问题的自然延伸,是NP-完全的。

英文摘要:

Modern Internet-scale storage systems often provide weak consistency in exchange for better performance and resilience. An important weak consistency property is k-atomicity, which bounds the staleness of values returned by read operations. The k-atomicity-verification problem (or k-AV for short) is the problem of deciding whether a given history of operations is k-atomic. The 1-AV problem is equivalent to verifying atomicity/linearizability, a well-known and solved problem. However, for k > 2, no polynomial-time k-AV algorithm is known. This paper makes the following contributions towards solving the k-AV problem. First, we present a simple 2- AV algorithm called LBT, which is likely to be efficient (quasilinear) for histories that arise in practice, although it is less efficient (quadratic) in the worst case. Second, we present a more involved 2-AV algorithm called FZF, which runs efficiently (quasilinear) even in the worst case. To our knowledge, these are the first algorithms that solve the 2-AV problem fully. Third, we show that the weighted k-AV problem, a natural extension of the k-AV problem, is NP-complete.

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

↑