简要公告:更新可分区系统中的一致性
Brief Announcement: Update Consistency in Partitionable Systems
摘要:
数据复制对于保证Internet等大规模系统上的大规模分布式应用的可靠性、可用性和容错性至关重要。然而,这些系统倾向于划分,根据Brewer的CAP定理[1],这使得不可能使用像原子性这样的强一致性标准。最终一致性[2]指当参与者停止更新时,所有副本最终收敛到一个共同的状态。然而,它无法完全指定共享对象,并且需要额外的非直观和易出错的分布式规范技术,必须考虑所有可能的并发更新历史来指定此公共状态[3]。这种方法可能会导致规范与实现本身一样复杂,但它受到一个更严重问题的限制。对象的并发规范使用并发事件的概念。在消息传递系统中,两个事件是并发的,如果它们由不同的进程强制执行,并且每个进程在收到另一个进程的通知消息之前强制执行它的事件。换句话说,并发的概念取决于对象的实现,而不是它的规范。因此,如果不显式跟踪进程交换的消息,最终用户可能不知道两个事件是否并发。规范应该独立于它所实现的系统。我们认为,一个对象应该完全由两个方面来指定:它的抽象数据类型,它表征了它的顺序执行,以及一个一致性标准,它定义了它在分布式环境中应该如何表现。顺序规范不仅有助于消除意图问题,还允许使用经过充分研究和理解的语言和自动机概念。这使得应用为顺序系统开发的所有工具成为可能,从使用结构和类的简单定义到模型检验和形式化验证等最先进的技术。最终一致性(EC)不对收敛状态施加约束,很少依赖于顺序规范。例如,忽略所有更新的实现最终是一致的,因为所有副本都收敛到初始状态。我们提出了一个新的一致性准则,更新一致性(UC),其中收敛状态必须通过更新的全排序来获得,其中包含每个更新的顺序
英文摘要:
Data replication is essential to ensure reliability, availability and fault-tolerance of massive distributed applications over large scale systems such as the Internet. However, these systems are prone to partitioning, which by Brewer's CAP theorem [1] makes it impossible to use a strong consistency criterion like atomicity. Eventual consistency [2] guaranties that all replicas eventually converge to a common state when the participants stop updating. However, it fails to fully specify shared objects and requires additional non-intuitive and error-prone distributed specification techniques, that must take into account all possible concurrent histories of updates to specify this common state [3]. This approach, that can lead to specifications as complicated as the implementations themselves, is limited by a more serious issue. The concurrent specification of objects uses the notion of concurrent events. In message-passing systems, two events are concurrent if they are enforced by different processes and each process enforced its event before it received the notification message from the other process. In other words, the notion of concurrency depends on the implementation of the object, not on its specification. Consequently, the final user may not know if two events are concurrent without explicitly tracking the messages exchanged by the processes. A specification should be independent of the system on which it is implemented. We believe that an object should be totally specified by two facets: its abstract data type, that characterizes its sequential executions, and a consistency criterion, that defines how it is supposed to behave in a distributed environment. Not only sequential specification helps repeal the problem of intention, it also allows to use the well studied and understood notions of languages and automata. This makes possible to apply all the tools developed for sequential systems, from their simple definition using structures and classes to the most advanced techniques like model checking and formal verification. Eventual consistency (EC) imposes no constraint on the convergent state, that very few depends on the sequential specification. For example, an implementation that ignores all the updates is eventually consistent, as all replicas converge to the initial state. We propose a new consistency criterion, update consistency (UC), in which the convergent state must be obtained by a total ordering of the updates, that contains the sequential order of each
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。