question

ashok.dcosta_187920 avatar image
ashok.dcosta_187920 asked Erick Ramirez edited

Do nodes in a Cassandra cluster need to have the same memory and disk size?

Hi,

I needed to know if each and every node in the cassandra cluster should have the same memory and the capacity ( Disk storage) size ? Does each and every node should be exacttly same if not what can differ in the casandra ring ?

cassandra
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

saravanan.chinnachamy_185977 avatar image
saravanan.chinnachamy_185977 answered

@ashok.dcosta_187920 A similar question has been answered in detail. Please refer to the discussion at Cassandra Cluster Configuration with Different node sizes

If there are any more questions after reviewing the thread, please feel free to update the question, and we will be more than happy to answer those. Cheers


Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Erick Ramirez avatar image
Erick Ramirez answered Erick Ramirez edited

There isn't a technical reason that prevents you from having different hardware configuration in a Cassandra cluster. However, this isn't recommended because it would make it difficult to manage operationally.

For what it's worth, the disk size doesn't really make a difference since it's C* doesn't distribute data based on available disk space. The amount of RAM isn't an issue if they are sufficiently large. For example, consider the scenario where most servers have 64GB of RAM with only 1 or 2 servers which have 128GB. What matters here is that they all have the same JVM configuration (say all nodes have 31GB allocated to G1 GC).

I have previously answered a similar question with details of what hardware combinations are "acceptable" here -- Is it possible to deploy nodes in a cluster with differing hardware configuration?. Cheers!

Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

sahildevgon.30_191222 avatar image
sahildevgon.30_191222 answered sahildevgon.30_191222 edited

Hi,

In any distributed environment(Cassandra, Hadoop etc) it's always recommended to have similar configuration servers. This ensures proper load distribution and efficiency.


Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.