O'Reilly logo

Apache Cassandra Essentials by Nitin Padalia

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Tuning Cassandra nodes

Cassandra provides various configuration options both at column family level and system level; this lets us customize Cassandra's features to suit our requirements. Let's discuss these configuration options.

Configuring Cassandra caches

From our discussion about caches in the previous chapters, we know that Cassandra has two caching options:

  • Key cache: This caches partition keys and their respective data offset in the SSTable. When a key cache is hit, we'll save one disk seek for that SSTable search.
  • Row cache: This stores the entire row of a partition key; in the new version, we can specify the number of rows to be stored per partition key. This caches two disk seeks as the entire row is in the memory.

Both of these caches can ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required