arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1603.04199cs.DC
收藏

因果一致性:超越记忆

Causal Consistency: Beyond Memory

Matthieu Perrin, Achour Mostefaoui, Claude Jard

摘要:

在分布式系统中,强一致性是昂贵的,当不是不可能的,因果一致性提供了一个有价值的抽象来表示程序执行的偏序。除了每个计算实体的程序顺序之外,因果顺序还包含影响共享对象的事件之间的语义链接-通信信道中的消息发送和接收,共享寄存器上的读取和写入。基于语义链接的语义方法很难适应其他数据类型,如队列或计数器,因为它们需要对每个数据类型的因果依赖关系进行特定分析。本文提出了一种新的方法来定义因果一致性的任何抽象数据类型的顺序规格的基础上。它探索,形式化和研究因果一致性的三种变化之间的差异,并根据PRAM,最终一致性和顺序一致性强调它们:弱因果一致性,在关注收敛时捕获因果关系保存的概念;因果收敛混合弱因果一致性和收敛;因果一致性,当应用于共享记忆时与因果记忆一致。

英文摘要:

In distributed systems where strong consistency is costly when not impossible, causal consistency provides a valuable abstraction to represent program executions as partial orders. In addition to the sequential program order of each computing entity, causal order also contains the semantic links between the events that affect the shared objects -- messages emission and reception in a communication channel , reads and writes on a shared register. Usual approaches based on semantic links are very difficult to adapt to other data types such as queues or counters because they require a specific analysis of causal dependencies for each data type. This paper presents a new approach to define causal consistency for any abstract data type based on sequential specifications. It explores, formalizes and studies the differences between three variations of causal consistency and highlights them in the light of PRAM, eventual consistency and sequential consistency: weak causal consistency, that captures the notion of causality preservation when focusing on convergence ; causal convergence that mixes weak causal consistency and convergence; and causal consistency, that coincides with causal memory when applied to shared memory.

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

↑