incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manu Zhang <owenzhang1...@gmail.com>
Subject how to implement a client with off-heap memory
Date Mon, 29 Oct 2012 03:59:49 GMT
Hi all,

I've been writing a client on Cassandra Thrift API. The client will read
almost 1G of data into JVM heap and thus its performance suffers from GC
operations.
To reduce latency, I'm currently thinking about implementing an off-heap
memory (just like that of RowCache) to hold data and manage it myself.
The problem is that with Thrift API I read all the data as "List<KeySlice>"
directly into heap.
Is there a work around? Any other suggestions would also be appreciated.
Thanks!

Mime
View raw message