cap-theorem

Which part of the CAP theorem does Cassandra sacrifice and why?

左心房为你撑大大i 提交于 2019-12-03 07:08:36
问题 There is a great talk here about simulating partition issues in Cassandra with Kingsby's Jesper library. My question is - with Cassandra are you mainly concerned with the Partitioning part of the CAP theorem, or is Consistency a factor you need to manage as well? 回答1: Cassandra is typically classified as an AP system, meaning that availability and partition tolerance are generally considered to be more important than consistency. However, real world systems rarely fall neatly into these

Why isn't RDBMS Partition Tolerant in CAP Theorem and why is it Available?

て烟熏妆下的殇ゞ 提交于 2019-12-02 22:35:23
Two points I don’t understand about RDBMS being CA in CAP Theorem : 1) It says RDBMS is not Partition Tolerant but how is RDBMS any less Partition Tolerant than other technologies like MongoDB or Cassandra? Is there a RDBMS setup where we give up CA to make it AP or CP? 2) How is it CAP-Available? Is it through master-slave setup? As in when the master dies, slave takes over writes? I’m a novice at DB architecture and CAP theorem so please bear with me. A lot of databases now actually have different configurations and depending on the settings you set, it can be either CA, CP, AP, etc but can

Which part of the CAP theorem does Cassandra sacrifice and why?

家住魔仙堡 提交于 2019-12-02 20:45:58
There is a great talk here about simulating partition issues in Cassandra with Kingsby's Jesper library . My question is - with Cassandra are you mainly concerned with the Partitioning part of the CAP theorem, or is Consistency a factor you need to manage as well? Cassandra is typically classified as an AP system, meaning that availability and partition tolerance are generally considered to be more important than consistency. However, real world systems rarely fall neatly into these categories, so it's more helpful to view CAP as a continuum. Most systems will make some effort to be consistent

Where does mongodb stand in the CAP theorem?

橙三吉。 提交于 2019-11-26 08:45:09
问题 Everywhere I look, I see that MongoDB is CP. But when I dig in I see it is eventually consistent. Is it CP when you use safe=true? If so, does that mean that when I write with safe=true, all replicas will be updated before getting the result? 回答1: MongoDB is strongly consistent by default - if you do a write and then do a read, assuming the write was successful you will always be able to read the result of the write you just read. This is because MongoDB is a single-master system and all