开发者

Why Redis considered to be CP? [closed]

开发者 https://www.devze.com 2023-03-25 10:30 出处:网络
Closed. This question is off-topic. It is not currently accepting answers. 开发者_JAVA百科 Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed. This question is off-topic. It is not currently accepting answers.
开发者_JAVA百科

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 11 years ago.

Improve this question

In short the brewer's CAP theorem states that any database is either CA,CP or AP

Why do people consider Redis as a CP database?


The CAP Theorem refers to distributed computer systems.

Since Redis is not per se distributed (clustering is under development) being CP/CA/PA depends on the clustering implementation.


@seppoo0010 is correct. It is more meaningful to speak of a Redis node in terms of Atomicity, Durability, etc.

Also note that CAP is a somewhat problematic paradigm. I second Dr. Brewer's recommendation of Coda Hale's informative rant. (See also comments by Daniel Abdi). Also note Jeff Darcy and Dan Weinreb's comments.

Stonebraker disagrees.

[Edit: Dan Weinreb's deep digging of CAP really is quite excellent. Highly recommended]

Finally, here is "the proof" of CAP.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号