whar are the ideal java opts to be needed in env.sh file for best performance?
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!
6 People are following this question.