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

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

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