cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Coli <>
Subject Re: Row cache vs. OS buffer cache
Date Thu, 23 Jan 2014 19:17:22 GMT
On Wed, Jan 22, 2014 at 11:13 PM, Katriel Traum <> wrote:

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

Many people have had bad experiences with Row Cache, I assert more than
have had a good experience.

Is the 2.1 era re-design of the row cache into something more conceptually

The rule of thumb for row cache is that if your data is :

1) very hot
2) very small
3) very uniform in size

You may win with it. IMO if you meet all of those criteria you should try
A/B the on-heap cache vs. off-heap in 1.1/1.2, especially if your cached
rows are frequently updated.


View raw message