Meaning of eventual consistency in Cassandra?

后端 未结 5 1356
心在旅途
心在旅途 2021-02-19 18:46

What is the meaning of eventual consistency in Cassandra when nodes in a single cluster do not contain the copies of same data but data is distributed among nodes. Now since a s

5条回答
  •  [愿得一人]
    2021-02-19 19:18

    Even with replication factor = 1, consistency is not necessarily immediate because writes are buffered on the node that you send them to and hence don't necessarily immediately get sent to the node responsible for that key.

    But it depends on what consistency level you choose.

    Mostly the use-case for Cassandra is with replication factor > 1, which is where consistency becomes more of an issue. RF=3 seems to be a common setting (as it allows Quorum reads/writes with one node unavailable)

提交回复
热议问题