Database Reference
In-Depth Information
Figure 8-1
.
How a cache works with the Cassandra server upon receiving a read request
Row and key caches are helpful in retrieving rows most frequently used. Keeping a
moderate size of row caches and a higher number of key caches can result in better per-
formance and less latency. Let's discuss these cache configurations with Cassandra.
Cache Directory
The default cache location is
/var/lib/cassandra/saved_caches
. We can
also modify it in
cassandra.yaml
:
saved_caches_directory: /var/lib/cassandra/saved_caches