Skip to Main Content
Apache Cassandra Essentials
book

Apache Cassandra Essentials

by Nitin Padalia
November 2015
Beginner to intermediate content levelBeginner to intermediate
172 pages
3h 47m
English
Packt Publishing
Content preview from Apache Cassandra Essentials

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 ...

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
Learning Apache Cassandra - Second Edition

Learning Apache Cassandra - Second Edition

Sandeep Yarabarla, Graham Doman

Publisher Resources

ISBN: 9781783989102