Illustration Image

Cassandra.Link

The best knowledge base on Apache Cassandra®

Helping platform leaders, architects, engineers, and operators build scalable real time data platforms.

2/14/2019

Reading time:N/A min

Cassandra Data distribution and replication Part-2

by John Doe

Post Views: 451Refer Cassandra Consistence hashing part-1 using below link.Cassandra : Cassandra Data distribution and replicationIn part-1 we have seen data distribution and replication.In part-2 you’re going to learn different types of data distribution architectures present in the Cassandra.We must ensure that the data is evenly divided across the all nodes in the cluster.This can help to maintain the load balancing and healthy cluster.As per Cassandra distribution and replication no two nodes share the same token value with in the same datacenter, even if they are in different datacenters.What is Token?Tokens are hash values that partitioners use to determine where to store rows on each node in the ring.Cassandra having two types of data distribution architecture.Single-token architecture (Manual Nodes)Virtual Nodes architecture(V Nodes)Single Token Architecture Nodes.Single token architecture nodes can capable to allow the multiple tokens and responsible for store the data according to tokens allocated for that node.Using the below parameter value we can configure the Single token architecture nodes in a cluster.


Illustration Image

Post Views: 451

Refer Cassandra Consistence hashing part-1 using below link.

Cassandra : Cassandra Data distribution and replication

In part-1 we have seen data distribution and replication.

In part-2 you’re going to learn different types of data distribution architectures present in the Cassandra.

We must ensure that the data is evenly divided across the all nodes in the cluster.

This can help to maintain the load balancing and healthy cluster.

As per Cassandra distribution and replication no two nodes share the same token value with in the same datacenter, even if they are in different datacenters.

What is Token?

Tokens are hash values that partitioners use to determine where to store rows on each node in the ring.

Cassandra having two types of data distribution architecture.

  • Single-token architecture (Manual Nodes)
  • Virtual Nodes architecture(V Nodes)

Single Token Architecture Nodes.

Single token architecture nodes can capable to allow the multiple tokens and responsible for store the data according to tokens allocated for that node.

Using the below parameter value we can configure the Single token architecture nodes in a cluster.

Related Articles

python
java
cassandra

Vald

John Doe

2/11/2024

cassandra
distributed

Checkout Planet Cassandra

Claim Your Free Planet Cassandra Contributor T-shirt!

Make your contribution and score a FREE Planet Cassandra Contributor T-Shirt! 
We value our incredible Cassandra community, and we want to express our gratitude by sending an exclusive Planet Cassandra Contributor T-Shirt you can wear with pride.

Join Our Newsletter!

Sign up below to receive email updates and see what's going on with our company

Explore Related Topics

AllKafkaSparkScyllaSStableKubernetesApiGithubGraphQl

Explore Further

cassandra