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

查看:14
本文介绍了为什么 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 中的一致性概念是指所有节点同时看到相同的数据",而一致性的概念在 CAPACID 的意思是数据库执行的任何事务都将把它从一个一致的状态转移到另一个".(来自维基百科.)

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天全站免登陆