Hi there,
I currently have a java application that writes roughly 400 mutations per batch to Cassandra. In OpsCenter we see an X value of writes: is this the number of mutations, or the number of batches?
Thank you in advance!
Hi there,
I currently have a java application that writes roughly 400 mutations per batch to Cassandra. In OpsCenter we see an X value of writes: is this the number of mutations, or the number of batches?
Thank you in advance!
There are two different metrics that track number of writes:
Write Requests - This metric tracks writes issued by a client. When doing a batch of 400 writes, this will increase by 400. The same is true for the corresponding read metric. This is the metric you will see on the dashboard under 'Cluster Reads & Writes'. On the dashboard it is aggregated across the entire cluster.
CF: Local Writes - This metric tracks actual writes done on each node. This is affected by the replication factor for the keyspace you write to. If a client issues a write request and there is a replication factor of 3, this metric will increase by one on 3 different nodes. The 'Write Requests' metric however, will only increase by one on the node that the client issued the request to.
Hopefully that clears everything up.