为什么CAP定理中的C与ACID中的C不同? [英] Why is C in CAP theorem not same as C in ACID?

查看:131
本文介绍了为什么CAP定理中的C与ACID中的C不同?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的问题很简单,正在寻找一个更简单的答案,为什么 CAP 定理中的 C 与 ACID 中的 C 不同?

My question is pretty simple, was looking for a simpler answer, Why is C in CAP theorem not same as C in ACID?

阅读这个 HN 主题.

更新

NOSQL v1.0 搭便车指南,幻灯片 71 说:CAP 中的 C= A+C(原子一致性)

A Hitchhiker's Guide to NOSQL v1.0, slide 71 says: C in CAP = A+C (Atomic Consistency)

推荐答案

C 都代表一致性,但是 CAP 中的一致性概念意味着所有节点同时看到相同的数据",而 CAP 中的一致性概念意味着ACID 意味着数据库执行的任何事务都会将其从一种一致状态带到另一种一致状态".(来自维基百科.)

Both C's stand for consistency, but the notion of consistency in CAP means that "all nodes see the same data at the same time" and the notion of consistency in ACID means that "any transaction the database performs will take it from one consistent state to another". (From Wikipedia.)

这篇关于为什么CAP定理中的C与ACID中的C不同?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆