开发者_JAVA百科
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this questionIn 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.
精彩评论