cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: importance of key cache vs row cache
Date Sat, 31 Jul 2010 03:46:16 GMT
On Thu, Jul 29, 2010 at 5:02 PM, Aaron Morton <aaron@thelastpickle.com> wrote:
>
> Which type of cache is appropriate to your particular case depends on a
> variety of factors including the hotness and other access
> characteristics of your data set, the relationship of data set size to
> the heap size, row size to key size, and so forth.
>
> =Rob
>
>
> A little of topic, but I remember reading once from facebook that when a web
> user give focus to the inbox search box they sent a message back to warm the
> appropriate caches. I think it may have been in the original paper.
>
> Out of interest is there a way to warm the key cache, other than say sending
> a get_range_slices command that asks for 0 columns?

We took it the special-purpose command, but as you say, in modern
Cassandra, doing a 0-column query against a row-cached CF would have
the desired effect.

-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cassandra support
http://riptano.com

Mime
View raw message