I can't use SerializedCacheProvider with wide rows. My tests show the performance of it is rediculously slow because of the copying to heap for each get
Sent from my Android phone using TouchDown (www.nitrodesk.com) -----Original Message----- From: Jonathan Ellis [jbel...@gmail.com] Received: Thursday, 12 Jan 2012, 6:18pm To: dev@cassandra.apache.org [dev@cassandra.apache.org] Subject: Re: Cache Row Size 8x is pretty normal for JVM and bookkeeping overhead with the CLHCP. The SerializedCacheProvider is the default in 1.0 and is much lighter-weight. On Thu, Jan 12, 2012 at 6:07 PM, Todd Burruss <bburr...@expedia.com> wrote: > I'm using ConcurrentLinkedHashCacheProvider and my data on disk is about 4gb, > but the RAM used by the cache is around 25gb. I have 70k columns per row, > and only about 2500 rows – so a lot more columns than rows. has there been > any discussion or JIRAs discussing reducing the size of the cache? I can > understand the overhead for column names, etc, but the ratio seems a bit > distorted. > > I'm tracing through the code, so any pointers to help me understand is > appreciated > > thx -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com