incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kallin Nagelberg <kallin.nagelb...@gmail.com>
Subject Re: cassandra as session store
Date Tue, 01 Feb 2011 20:20:41 GMT
nvm on the persistence, it seems like it does support it:

'Since version 1.1 the safer alternative is an append-only file (a
journal) that is written as operations modifying the dataset in memory
are processed. Redis is able to rewrite the append-only file in the
background in order to avoid 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.nagelberg@gmail.com> wrote:
> Reddis seems neat, but a couple issues:
>
> - It's 'persistence' is more of a timed backup. You are not guaranteed
> the latest results on disk.
> - no real 'clustering'. It has a master/slave system.
>
> Hard to say if those are deal breakers at this point, but the API for
> it seems nice.
>
> On Tue, Feb 1, 2011 at 1:48 PM, Kallin Nagelberg
> <kallin.nagelberg@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 <zodiaczx6@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.Zhu@rms.com> wrote:
>>>> If it is a really session data, which will be active for a short time, a
few hours, and it is OK to lose them, memcached is a better solution. I were using it when
I was in Yahoo.
>>>>
>>>> Tong
>>>>
>>>> -----Original Message-----
>>>> From: buddhasystem [mailto:potekhin@bnl.gov]
>>>> Sent: Tuesday, February 01, 2011 9:57 AM
>>>> To: cassandra-user@incubator.apache.org
>>>> Subject: Re: cassandra as session store
>>>>
>>>>
>>>> For completeness:
>>>>
>>>> http://stackoverflow.com/questions/3746685/running-django-site-in-multiserver-environment-how-to-handle-sessions
>>>> http://docs.djangoproject.com/en/dev/topics/http/sessions/#using-cached-sessions
>>>>
>>>> I guess your approach does make sense, one only wishes that the servlet in
>>>> question did more work for you. If I read correctly, Django can cache
>>>> sessions transparently in memcached. So memcached mecomes your Session
>>>> Management System. Is it better or worse than Cassandra? My feeling is that
>>>> it's probably faster and easier to set up.
>>>>
>>>>
>>>> --
>>>> View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/cassandra-as-session-store-tp5981871p5982024.html
>>>> Sent from the cassandra-user@incubator.apache.org mailing list archive at
Nabble.com.
>>>>
>>>>
>>>> This message and any attachments contain information that may be RMS Inc.
confidential and/or privileged.  If you are not the intended recipient (or authorized to
receive for the intended recipient), and have received this message in error, any use, disclosure
or distribution is strictly prohibited.   If you have received this message in error, please
notify the sender immediately by replying to the e-mail and permanently deleting the message
from your computer and/or storage system.
>>>>
>>>
>>>
>>>
>>> --
>>> Maybe she awoke to see the roommate's boyfriend swinging from the
>>> chandelier wearing a boar's head.
>>>
>>> Something which you, I, and everyone else would call "Tuesday", of course.
>>>
>>
>

Mime
View raw message