Skip to Content
Mastering Apache Cassandra 3.x - Third Edition
book

Mastering Apache Cassandra 3.x - Third Edition

by Aaron Ploetz, Tejaswi Malepati
October 2018
Beginner to intermediate content levelBeginner to intermediate
348 pages
10h
English
Packt Publishing
Content preview from Mastering Apache Cassandra 3.x - Third Edition

JVM configuration

In Chapter 4, Configuring a Cluster, configuration of the java virtual machine (specifically, garbage collection) was covered at length. While we won't waste time repeating the same information here, we'll add some quick guidelines that echo what was covered in Chapter 4, Configuring a Cluster:

  • Be sure to monitor your nodes' garbage-collection logs. If your nodes are exhibiting long, stop the world (STW) pauses, there are adjustments that can be made to mitigate that.
  • It’s almost always a good idea to set the max heap size (-Xmx) and the initial heap size (-Xms) to be the same. This way, performance will not be impacted as the heap resizes itself.
  • If you're not experienced with JVM tuning, configure your nodes to use ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Apache Cassandra - Second Edition

Mastering Apache Cassandra - Second Edition

Nishant Neeraj

Publisher Resources

ISBN: 9781789131499Supplemental Content