Does Cassandra support sharding?

前端 未结 2 880
无人共我
无人共我 2021-02-12 10:45

Does Apache Cassandra support sharding?

Apologize that this question must seem trivial, but I cannot seem to find the answer. I have read that Cassandra was partially mo

2条回答
  •  礼貌的吻别
    2021-02-12 11:02

    Cassandra does partition across nodes (because if you can't split it you can't scale it). All of the data for a Cassandra cluster is divided up onto "the ring" and each node on the ring is responsible for one or more key ranges. You have control over the Partitioner (e.g. Random, Ordered) and how many nodes on the ring a key/column should be replicated to based on your requirements.

    This contains a pretty good overview. Basic architecture

    Also, I highly recommend reading the Dynamo white paper. While Cassandra is different than Dynamo in many ways, conceptually they stem from the same roots. Check it out: Dynamo White Paper

提交回复
热议问题