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

 

question

judhviraj_177959 avatar image
judhviraj_177959 asked ·

What are the ideal Java options for best performance?

whar are the ideal java opts to be needed in env.sh file for best performance?

jvm
10 |1000 characters needed characters left characters exceeded

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

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered ·

As a general rule, we don't recommend tweaking the JVM options unless you have expertise in the space. We instead suggest that you follow the recommended settings as part of a wholistic review of your cluster.

Having said that, The Last Pickle (now part of DataStax) has a blog post Garbage Collection Tuning written by Jon Haddad in 2018 which you might be interested in.

Here are other resources you should have a look at if you're looking to get the most out of your cluster:

I realise a couple of the docs are for DataStax Enterprise but most of the recommendations apply to open-source Apache Cassandra. Cheers!

Share
10 |1000 characters needed characters left characters exceeded

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