How to fetch cache hit ratio metrics

query
index
#1

Does Aerospike provides metrics of cache hit ratio for each namespace if Aerospike is used only for caching?

#2

For persistent namespaces, Aerospike caches recent writes, the percent of reads read from this cache can be found here: https://www.aerospike.com/docs/reference/metrics/#cache_read_pct.

If you want the ratio of successful reads to attempted reads see: https://www.aerospike.com/docs/reference/metrics/#client_read_success, https://www.aerospike.com/docs/reference/metrics/#client_read_error.

#3

Thanks.

What’s the difference between client_read_not_found and client_read_error metric? Can we treat client_read_not_found as cache miss? https://www.aerospike.com/docs/reference/metrics/#client_read_not_found https://www.aerospike.com/docs/reference/metrics/#client_read_error

#4

Error is all errors, not_found are just requests that result in not found.