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

关于混合最终一致性和强一致性:急性云类型

On Mixing Eventual and Strong Consistency: Acute Cloud Types

Maciej Kokociński, Tadeusz Kobus, Paweł T. Wojciechowski

摘要:

在这篇文章中,我们将研究混合了最终一致性和强一致性的分布式系统的性质。我们通过急性云类型(ACTs),抽象类似于无冲突复制数据类型(CRDTs),默认情况下工作在一个高度可用的,最终一致的方式,但也具有强一致的操作,需要全球协议的任务正式这样的系统。与其他混合一致性解决方案不同,ACT可以依赖于高效的基于法定人数的协议,例如Paxos。因此,ACT优雅地容忍机器和网络故障,也用于强一致的操作。我们正式研究ACTs和证明的现象,既不存在于纯粹的最终一致的,也不强一致的系统。特别是,我们确定临时操作重新排序,这意味着临时副本之间的相对顺序,客户端请求被执行的分歧。如果不小心处理,这种现象可能会导致不希望的异常,包括循环因果关系。我们证明了一个不可能的结果,该结果表明,临时操作重新排序是不可避免的混合一致性系统具有足够复杂的语义。我们的结果是惊人的,因为它表明,明显加强系统的语义(通过引入强一致的操作到最终一致的系统)的结果在最终一致的操作的保证减弱。

英文摘要:

In this article we study the properties of distributed systems that mix eventual and strong consistency. We formalize such systems through acute cloud types (ACTs), abstractions similar to conflict-free replicated data types (CRDTs), which by default work in a highly available, eventually consistent fashion, but which also feature strongly consistent operations for tasks which require global agreement. Unlike other mixed-consistency solutions, ACTs can rely on efficient quorum-based protocols, such as Paxos. Hence, ACTs gracefully tolerate machine and network failures also for the strongly consistent operations. We formally study ACTs and demonstrate phenomena which are neither present in purely eventually consistent nor strongly consistent systems. In particular, we identify temporary operation reordering, which implies interim disagreement between replicas on the relative order in which the client requests were executed. When not handled carefully, this phenomenon may lead to undesired anomalies, including circular causality. We prove an impossibility result which states that temporary operation reordering is unavoidable in mixed-consistency systems with sufficiently complex semantics. Our result is startling, because it shows that apparent strengthening of the semantics of a system (by introducing strongly consistent operations to an eventually consistent system) results in the weakening of the guarantees on the eventually consistent operations.

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

↑