Re: time to live rows

2011-02-14 Thread Kallin Nagelberg
then compact, then it's almost certain that the inserts are still in the memtable, and thus not compacted. On Tue, Feb 8, 2011 at 9:54 PM, Kallin Nagelberg kallin.nagelb...@gmail.com wrote: What's the secret recipe that I'm missing? I tried forcing compaction on my column family's JMX bean

Re: time to live rows

2011-02-08 Thread Kallin Nagelberg
, 2011 at 1:49 PM, Kallin Nagelberg kallin.nagelb...@gmail.com wrote: I also tried forcing a major compaction on the column family using JMX but the row remains. On Mon, Feb 7, 2011 at 4:43 PM, Kallin Nagelberg kallin.nagelb...@gmail.com wrote: I tried that but I still see the row coming back

Re: time to live rows

2011-02-08 Thread Kallin Nagelberg
. But the explanation is here: http://wiki.apache.org/cassandra/FAQ#range_ghosts On Tue, Feb 8, 2011 at 5:11 PM, Kallin Nagelberg kallin.nagelb...@gmail.com wrote: So the empty row will be ultimately removed then? Is there a way to for the GC to verify this? Thanks, -Kal On Tue, Feb 8, 2011 at 2

Re: time to live rows

2011-02-08 Thread Kallin Nagelberg
actually gc_grace, not gc_grace_seconds in the CLI. On Tue, Feb 8, 2011 at 5:34 PM, Kallin Nagelberg kallin.nagelb...@gmail.com wrote: I'm trying to set the gc_grace_seconds column family parameter but no luck.. I got the name of it from the comment in cassandra.yaml

Re: time to live rows

2011-02-08 Thread Kallin Nagelberg
On Tue, Feb 8, 2011 at 12:09 PM, Kallin Nagelberg kallin.nagelb...@gmail.com wrote: Yes I did, on the org.apache.cassandra.db.ColumnFamilies.Main.Session object. -Kal On Tue, Feb 8, 2011 at 12:00 PM, Sylvain Lebresne sylv...@datastax.com wrote: Did you force a major compaction (with jconsole

Re: time to live rows

2011-02-08 Thread Kallin Nagelberg
. http://wiki.apache.org/cassandra/FAQ#i_deleted_what_gives http://wiki.apache.org/cassandra/FAQ#range_ghosts -Original Message- From: Kallin Nagelberg [mailto:kallin.nagelb...@gmail.com] Sent: Tuesday, February 08, 2011 1:36 PM To: user@cassandra.apache.org Subject: Re: time to live

Re: time to live rows

2011-02-08 Thread Kallin Nagelberg
...@datastax.com wrote: On 2/8/11 1:23 PM, Kallin Nagelberg wrote: I did read those articles, but I didn't know know that deleting all the columns on a row was equivalent to deleting the row. Like I mentioned, I did delete all the columns from all my rows and then forced compaction before and after

time to live rows

2011-02-07 Thread Kallin Nagelberg
Hey, I have read about the new TTL columns in Cassandra 0.7. In my case I'd like to expire an entire row automatically after a certain amount of time. Is this possible as well? Thanks, -Kal

Re: time to live rows

2011-02-07 Thread Kallin Nagelberg
one go about requesting such a feature? Bill- On Mon, Feb 7, 2011 at 4:15 PM, Kallin Nagelberg kallin.nagelb...@gmail.com wrote: Hey, I have read about the new TTL columns in Cassandra 0.7. In my case I'd like to expire an entire row automatically after a certain amount of time

Re: time to live rows

2011-02-07 Thread Kallin Nagelberg
I also tried forcing a major compaction on the column family using JMX but the row remains. On Mon, Feb 7, 2011 at 4:43 PM, Kallin Nagelberg kallin.nagelb...@gmail.com wrote: I tried that but I still see the row coming back on a list columnfamily in the CLI. My concern

Re: unique key generation

2011-02-07 Thread Kallin Nagelberg
Maybe I can just use java5's UUID.. Need to research how this is effective across multiple clients.. On Mon, Feb 7, 2011 at 4:57 PM, Kallin Nagelberg kallin.nagelb...@gmail.com wrote: Hey, I am developing a session management system using Cassandra and need to generate unique sessionIDs

Re: unique key generation

2011-02-07 Thread Kallin Nagelberg
regards, Victor Kabdebon http://www.voxnucleus.fr 2011/2/7 Kallin Nagelberg kallin.nagelb...@gmail.com Hey, I am developing a session management system using Cassandra and need to generate uni...

cassandra as session store

2011-02-01 Thread Kallin Nagelberg
Hey, I am currently investigating Cassandra for storing what are effectively web sessions. Our production environment has about 10 high end servers behind a load balancer, and we'd like to add distributed session support. My main concerns are performance, consistency, and the ability to create

Re: cassandra as session store

2011-02-01 Thread Kallin Nagelberg
We're using servlets which also support sessions, but you have to rely on the servlet container to offer any sort of distributed session handling and this produces scalability issues past a certain point. Same thing for persistent sessions (survive restart). We also want a mechanism that can

Re: cassandra as session store

2011-02-01 Thread Kallin Nagelberg
Hmm, looking at redis now. The built in time to live functionality would be nice to have.. On Tue, Feb 1, 2011 at 1:34 PM, Colin Vipurs zodiac...@gmail.com wrote: Wouldn't something like Redis be a better fit than Cassandra? On Tue, Feb 1, 2011 at 6:16 PM, Tong Zhu tong@rms.com wrote: If

Re: cassandra as session store

2011-02-01 Thread Kallin Nagelberg
, 2011 at 1:48 PM, Kallin Nagelberg kallin.nagelb...@gmail.com wrote: Hmm, looking at redis now. The built in time to live functionality would be nice to have.. On Tue, Feb 1, 2011 at 1:34 PM, Colin Vipurs zodiac...@gmail.com wrote: Wouldn't something like Redis be a better fit than Cassandra

Re: cassandra as session store

2011-02-01 Thread Kallin Nagelberg
an indefinite growth of the journal.' This thread probably shouldn't digress too much from Cassandra's suitability for session management though.. On Tue, Feb 1, 2011 at 3:10 PM, Kallin Nagelberg kallin.nagelb...@gmail.com wrote: Reddis seems neat, but a couple issues: - It's 'persistence' is more