cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Burroughs <>
Subject Re: Confused about CASSANDRA-1417; saving row cache
Date Wed, 12 Jan 2011 02:44:43 GMT
On 2011-01-11 15:41, Chris Burroughs wrote:
> On 01/11/2011 02:56 PM, Peter Schuller wrote:
>>> But now I need two knobs:  "Max size of row cache" (best optimal steady
>>> state hit rate) and "number of row cache items to read in on startup"
>>> (so that the ROW-READ-STAGE does not need to drop packets and node can
>>> be restarted in a reasonable amount of time).
>> Good idea IMO. File a jira ticket?
> created.

Reading only a fraction of the rows is unlikely to be useful since
ConcurrentLinkedHashMap does not provide any hooks for sorting the
entries usefully.

For anyone else who is having similar problems with cold startup and
small rows what I will probably try a KeyCache sized << RowCache and
save only that KeyCache to disk.

View raw message