My experience has been that the row cache is much more effective.
However, reasonable row cache sizes are so small relative to RAM that I
don't see it as a significant trade-off unless it's in a very memory
constrained environment. If you want to enable the row cache (a big if)
you probably want it to be as big as it can be until you have reached
the point of diminishing returns on the hit rate.
The "off-heap" cache still has many on-heap objects so it's doesn't
really change that much conceptually, you will just end up with a
different number for the "size".
On 01/23/2014 02:13 AM, Katriel Traum wrote:
Hello list,
I was if anyone has any pointers or some advise regarding using row cache
vs leaving it up to the OS buffer cache.
I run cassandra 1.1 and 1.2 with JNA, so off-heap row cache is an option.
Any input appreciated.
Katriel