Good use cases for Apache Cassandra

Good use cases for Apache Cassandra are those that work with the underlying storage engine, instead of fighting against it.

Remember, Cassandra has a log-based storage engine, the SSTable files underneath are immutable, and all data is not necessarily stored on every node (depending on your RF). Keep those points in mind, and you'll start to recognize good use cases quite easily:

  • Large, growing datasets that require high performance and availability
  • Data based on time or sequential events, such as log or time series data
  • Data models requiring specific, narrow query patterns
  • Data models serving ranges of multiple, sorted results

Often, modeling problems with Apache Cassandra can be solved by understanding ...

Get Mastering Apache Cassandra 3.x - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.