Re: time to live rows

2011-02-14 Thread Kallin Nagelberg
mpact, 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 > wrote: >> >> What's the secret recipe that I'm missing? I tried forci

Re: time to live rows

2011-02-08 Thread Kallin Nagelberg
ote: > > 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

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: Tue

Re: time to live rows

2011-02-08 Thread Kallin Nagelberg
. Sound reasonable? -Kal On Tue, Feb 8, 2011 at 12:09 PM, Kallin Nagelberg 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 > wrote: >> Did you force a major compaction

Re: time to live rows

2011-02-08 Thread Kallin Nagelberg
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 wrote: > Did you force a major compaction (with jconsole or nodetool) after gc_grace > has elapsed ? > On Tue, Feb 8, 2011 at 5:46 PM, Kallin Nagelberg

Re: time to live rows

2011-02-08 Thread Kallin Nagelberg
CLI. > > On Tue, Feb 8, 2011 at 5:34 PM, Kallin Nagelberg > 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: >> >> #     - gc_grace_seconds: specifie

Re: time to live rows

2011-02-08 Thread Kallin Nagelberg
w with tombstones (even only them) will show > during range request. But the explanation is > here: http://wiki.apache.org/cassandra/FAQ#range_ghosts > >> >> On Tue, Feb 8, 2011 at 5:11 PM, Kallin Nagelberg >> wrote: >>> >>> So the empty row will be ultim

Re: time to live rows

2011-02-08 Thread Kallin Nagelberg
AQ#range_ghosts > > On Mon, Feb 7, 2011 at 1:49 PM, Kallin Nagelberg > 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 >> wrote: >>

Re: unique key generation

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

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 wrote: > Hey, > > I am developing a session management system using Cassandra and need > to generate unique sessionIDs (cassa

unique key generation

2011-02-07 Thread Kallin Nagelberg
Hey, I am developing a session management system using Cassandra and need to generate unique sessionIDs (cassandra columnfamily keys). Does anyone know of an elegant/simple way to accomplish this? I am not sure about using time based uuids on the client as there a chance that multiple clients coul

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 wrote: > I tried that but I still see the row coming back on a list > in the CLI. My concern is that there will be a pointer > to an empty ro

Re: time to live rows

2011-02-07 Thread Kallin Nagelberg
w would one go about requesting such a feature? > > Bill- > > On Mon, Feb 7, 2011 at 4:15 PM, Kallin Nagelberg > 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. Is this possible as well? >> >> Thanks, >> -Kal >> >

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: cassandra as session store

2011-02-01 Thread Kallin Nagelberg
id 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 wrote: > Reddis seems neat, but a couple issues: > > - It's 'pers

Re: cassandra as session store

2011-02-01 Thread Kallin Nagelberg
eems nice. On Tue, Feb 1, 2011 at 1:48 PM, Kallin Nagelberg 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 wrote: >> Wouldn't something like Redis be a better fit than Cassa

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 wrote: > Wouldn't something like Redis be a better fit than Cassandra? > > On Tue, Feb 1, 2011 at 6:16 PM, Tong Zhu wrote: >> If it is a really session data, wh

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 operat

Re: cassandra as session store

2011-02-01 Thread Kallin Nagelberg
end and cassandra as > backend session store.  Hopefully. > > On 1 Feb 2011 18:19, "Kallin Nagelberg" wrote: >> Hey, >> I am currently investigating Cassandra for storing what are >> effectively web sessions. Our production environment has about 10 high >> e

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 uniq