As the question says , Why Cassandra chose ring architecture , is this to "identify" clear neighbors for each node ?
Bringing together the Apache Cassandra experts from the community and DataStax.
Want to learn? Have a question? Want to share your expertise? You are in the right place!
Not sure where to begin? Getting Started
As the question says , Why Cassandra chose ring architecture , is this to "identify" clear neighbors for each node ?
The nodes are not literally on a ring. The ring is a representation of the hashing function output. It is circular because ranges are allowed to span the max value point and carry around to the min value.
Every node claims sections of the ring as the key values that they will own. For more information look up information on tokens and vnodes. Actual node assignment and replica placement is only accomplished with additional data. If vnodes aren't used each node only would one a single continuous section but most deployments use vnodes now.
6 People are following this question.
How does Cassandra handle a whole data center failing?
How do I avoid SSTables from growing too large?
Has anyone done a migration from Marklogic to Cassandra?
How do I delete data from my table given the partition key and a non-clustering column?
COPY FROM command returns error "field larger than field limit (131072)"
DataStax Enterprise is powered by the best distribution of Apache Cassandra ™
© 2022 DataStax, Titan, and TitanDB are registered trademarks of DataStax, Inc. and its subsidiaries in the United States and/or other countries.
Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries.
Privacy Policy Terms of Use