incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kapil nayar <kapilnay...@gmail.com>
Subject Cassandra as in-memory cache
Date Fri, 09 Sep 2011 16:38:18 GMT
Hi,

Can we configure some column-families (or keyspaces) in Cassandra to perform
as a pure in-memory cache?

The feature should let the memtables always be in-memory (never flushed to
the disk - sstables).
The memtable flush threshold settings of time/ memory/ operations can be set
to a max value to achieve this.

However, it seems uneven distribution of the keys across the nodes in the
cluster could lead to java error no-memory available. In order to prevent
this error can we overflow some entries to the disk?

Thanks,
Kapil

Mime
View raw message