Chapter 4. Read and Write – Behind the Scenes
We now know how we can read or write our data to Cassandra using CQL. But we haven't discussed what Cassandra actually does whenever we fire a read or write query. In this chapter, we'll discuss what is being done by Cassandra behind the scenes during our read or write requests. We'll see what all caching features does Cassandra provides are, and you'll see how they are applied by Cassandra so that we can enable them according to our needs. We'll also discuss write operations and a compaction process run to save disk space occupied by redundant data in various SSTable
formed due to multiple flush operations over time. There are three compaction strategies; if used wisely, an appropriate compaction ...
Get Apache Cassandra Essentials 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.