对CAP定理的一个批判
A Critique of the CAP Theorem
摘要:
CAP定理是分布式系统中经常被引用的一个不可能性结果,特别是在NoSQL分布式数据库中。在本文中,我们调查了一些关于CAP的含义的混乱,包括其定义的不一致性和模糊性,我们强调了它的形式化的一些问题。CAP通常被解释为证明最终一致的数据库比强一致的数据库具有更好的可用性属性;尽管这有一定的道理,但我们表明需要更仔细的推理。这些问题使人们对CAP作为在实际系统中进行权衡推理的工具的效用产生怀疑。作为CAP的替代方案,我们提出了一个“延迟敏感性”的框架,它分析了操作延迟对网络延迟的敏感性,这可能有助于从业者的原因一致性保证和网络故障的容忍度之间的权衡。
英文摘要:
The CAP Theorem is a frequently cited impossibility result in distributed systems, especially among NoSQL distributed databases. In this paper we survey some of the confusion about the meaning of CAP, including inconsistencies and ambiguities in its definitions, and we highlight some problems in its formalization. CAP is often interpreted as proof that eventually consistent databases have better availability properties than strongly consistent databases; although there is some truth in this, we show that more careful reasoning is required. These problems cast doubt on the utility of CAP as a tool for reasoning about trade-offs in practical systems. As alternative to CAP, we propose a "delay-sensitivity" framework, which analyzes the sensitivity of operation latency to network delay, and which may help practitioners reason about the trade-offs between consistency guarantees and tolerance of network faults.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。