Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 16372 invoked from network); 1 Feb 2011 20:57:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Feb 2011 20:57:32 -0000 Received: (qmail 58437 invoked by uid 500); 1 Feb 2011 20:57:30 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 58338 invoked by uid 500); 1 Feb 2011 20:57:29 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 58330 invoked by uid 99); 1 Feb 2011 20:57:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 20:57:29 +0000 X-ASF-Spam-Status: No, hits=1.8 required=5.0 tests=FREEMAIL_FROM,FREEMAIL_REPLY,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bill.speirs@gmail.com designates 209.85.216.44 as permitted sender) Received: from [209.85.216.44] (HELO mail-qw0-f44.google.com) (209.85.216.44) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 20:57:20 +0000 Received: by qwi2 with SMTP id 2so7581221qwi.31 for ; Tue, 01 Feb 2011 12:56:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=fe5Fp9ZpQp1b3EVK+UQL7uGNtKysuUDH6FrH1ax4KDs=; b=YIJnQGluXKLgfxQVTtyuDJTbnRR5++kqcZy3jKdpJOLy7oNp6xvzbp1fgTMHEC6Q2K BDHZMjYY2XvN9m/yRRGp68Kq7MlaqqWdD53DCQMFju00IoUhb8Ul9d/47pFzAFHmltes u/LejC2a6HLK6e+ZIv+gMLuAEIXgPK9cZlyyQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=ieIM0H4t/zWsKpZFbdPQK1eMn0vx+rajNcyfAGcwcC8K60doxnVn+ntNEH5UxmmzZQ IfJNZH/u+eOjGs8Lwt9z60Q0NQ9q5tuS/QUmPOTNjyj5taP7iToDgMDmxdzVi3JdquZA XFN36VMSzXB04zY0Li0l7IJ/GxOmq7efTN7lE= Received: by 10.229.240.85 with SMTP id kz21mr7436395qcb.2.1296593819462; Tue, 01 Feb 2011 12:56:59 -0800 (PST) Received: from [192.168.1.100] (c-71-235-103-23.hsd1.ct.comcast.net [71.235.103.23]) by mx.google.com with ESMTPS id q12sm15944404qcu.30.2011.02.01.12.56.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 01 Feb 2011 12:56:58 -0800 (PST) Message-ID: <4D487399.50602@gmail.com> Date: Tue, 01 Feb 2011 15:56:57 -0500 From: William R Speirs User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 MIME-Version: 1.0 To: user@cassandra.apache.org Subject: Re: cassandra as session store References: <1296582141589-5981961.post@n2.nabble.com> <1296583033554-5982024.post@n2.nabble.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I'm still very new to Cassandra, but when I started reading about it the first thing I thought about was a session store. It's based (in part from what I understand) on Dynamo which is (again, I could be wrong) used at Amazon as the session store for your shopping cart. So I would certainly reach for Cassandra if I needed a reliable distributed session store. Bill- On 02/01/2011 03:24 PM, Sasha Dolgy wrote: > > What I'm still unclear about, and where I think this is suitable, is Cassandra > being used as a data warehouse for current and past sessions tied to a user. > Yes, other things are great for session management, but I want to provide near > real time session information to my users ... quick and simple and i want to use > cassandra ... surely i can't be that bad for thinking this is a good idea? > -sd > > On Tue, Feb 1, 2011 at 9:20 PM, Kallin Nagelberg > wrote: > > 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.. >