arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1609.06670cs.DCcs.DB
收藏

眼见为实:通过状态实现一致性和隔离的统一模型

Seeing is Believing: A Unified Model for Consistency and Isolation via States

Natacha Crooks, Youer Pu, Lorenzo Alvisi, Allen Clement

摘要:

本文介绍了一个统一的模型的一致性和隔离,最大限度地减少了这些保证是如何定义和他们如何被认为之间的差距。我们的方法是基于一个简单的观察:应用程序将存储系统视为通过一系列状态转换的黑盒子,应用程序可以观察到其中的一个子集。为了最大限度地明确,隔离和一致性保证应表示为对这些状态的约束。相反,这些属性当前表示为对应用程序不可见的操作历史的约束。我们表明,采用基于状态的方法来表达这些保证带来了几个好处。首先,它使得关注给定隔离或一致性级别所允许的异常(以及应用程序必须处理的异常)而不是它所禁止的异常变得更容易。第二,它统一了通常互不相干的孤立和一致理论,并为构成这些保证提供了一个结构。我们利用这种模块化来应用于事务(独立于它们执行的隔离级别),因果一致性和会话保证之间的等价性,Chockler等人已经证明了单个操作。第三,它带来了清晰的日益拥挤的领域提出的一致性和隔离性能的筛选虚假的区别:我们发现,最近提出的并行快照隔离介绍了Sovran等人。实际上是一个特定的实现旧的保证,懒惰的一致性(或PL-2+),介绍了Adya等人。

英文摘要:

This paper introduces a unified model of consistency and isolation that minimizes the gap between how these guarantees are defined and how they are perceived. Our approach is premised on a simple observation: applications view storage systems as black-boxes that transition through a series of states, a subset of which are observed by applications. For maximum clarity, isolation and consistency guarantees should be expressed as constraints on those states. Instead, these properties are currently expressed as constraints on operation histories that are not visible to the application. We show that adopting a state-based approach to expressing these guarantees brings forth several benefits. First, it makes it easier to focus on the anomalies that a given isolation or consistency level allows (and that applications must deal with), rather than those that it proscribes. Second, it unifies the often disparate theories of isolation and consistency and provides a structure for composing these guarantees. We leverage this modularity to apply to transactions (independently of the isolation level under which they execute) the equivalence between causal consistency and session guarantees that Chockler et al. had proved for single operations. Third, it brings clarity to the increasingly crowded field of proposed consistency and isolation properties by winnowing spurious distinctions: we find that the recently proposed parallel snapshot isolation introduced by Sovran et al. is in fact a specific implementation of an older guarantee, lazy consistency (or PL-2+), introduced by Adya et al.

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

↑