Cassandra and Spring Terracotta

2010-02-26 Thread Charles Moulliard
Hi, Is there some utilities classes that we can use to store or retreive data from Cassandra (like we have with spring-jdbc, spring-orm, spring-jpa, ...) ? Can we compare Cassandra to Terracotta ? Kind regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer

RE: Strategy to delete/expire keys in cassandra

2010-02-26 Thread Weijun Li
Thanks for the patch Sylvain! I remember during build Cassandra re-generates the thrift java code (in src/) with a libthrift jar, is this correct? Here's my use case: 1) Write/read ratio is close to 1:1 2) High volume of traffic and I want low read latency (e.g., 40ms). That's why I'm testing

Re: cassandra freezes

2010-02-26 Thread Boris Shulman
What will be the implications of the fact that cassandra can't keep up with the write? Will the memtables be queued in memory until they are flushed? On Thu, Feb 25, 2010 at 4:56 PM, Jonathan Ellis jbel...@gmail.com wrote: Are you swapping?

Re: Cassandra and Spring Terracotta

2010-02-26 Thread Erich Nachbar
Can we compare Cassandra to Terracotta ? I used Terracotta on a previous project and you can think of it as a persisted/fault tolerant cache. The free version doesn't come with sharding, so your data has to fit on one machine. Other people I know have used it as a persistence layer (i.e.

Re: Cassandra and Spring Terracotta

2010-02-26 Thread Nathan McCall
Cassandra and Terracotta are distributed and can both store data, but I think the similarities end there. My understanding of Terracotta from recently evaluating their improvements to quartz is that their design goals are more focused on distributed and fault tolerant JVM resource sharing with

Binary memory table flush question

2010-02-26 Thread Sonny Heer
Hey, I have an application which is iterating over a directory with text files in it. For each document it is ingesting words as keys, and the docid as the column name with column value empty (no super columns). Below is the code I'm using to construct a key and column: ColumnFamily cf =

Cassandra: How can I prevent data losing?

2010-02-26 Thread JKnight JKnight
Dear all, My Cassandra data file (...-Data.db) have problem. I tried some ways 1. Use SstableExport: All row after error row can not be accessed. So with large data file, I loss a lot of data. 2. Use Index file to get data position, and seek to this position in data file to read data. All row