cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tong Zhu <Tong....@rms.com>
Subject RE: cassandra as session store
Date Tue, 01 Feb 2011 17:47:16 GMT
The problem is where to store the session data. If the session need to be accessible by more
than one web servers, the external storage is needed.

Cassandra only supports eventual consistency. If web server w1 saves the session at node 1
of cassendra while web server w2 retrieve the session from different node, if these two requests
are close enough, there is a chance what w2 retrieved is different from what w1 saved. Is
it a concern?

Tong



-----Original Message-----
From: buddhasystem [mailto:potekhin@bnl.gov]
Sent: Tuesday, February 01, 2011 9:42 AM
To: cassandra-user@incubator.apache.org
Subject: Re: cassandra as session store


Most if not all modern web application frameworks support sessions. This
applies to Django (with which I have most experience and also run it with
X.509 security layer) but also to Ruby on Rails and Pylons.

So, why would you re-invent the wheel? Too messy. It's all out there for you
to use.

Regards,
Maxim

--
View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/cassandra-as-session-store-tp5981871p5981961.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.

Mime
View raw message