Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 594 invoked from network); 16 Sep 2009 06:00:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Sep 2009 06:00:29 -0000 Received: (qmail 1392 invoked by uid 500); 16 Sep 2009 06:00:29 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 1368 invoked by uid 500); 16 Sep 2009 06:00:28 -0000 Mailing-List: contact cassandra-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-user@incubator.apache.org Delivered-To: mailing list cassandra-user@incubator.apache.org Received: (qmail 1359 invoked by uid 99); 16 Sep 2009 06:00:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Sep 2009 06:00:28 +0000 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of goffinet@digg.com designates 64.191.203.36 as permitted sender) Received: from [64.191.203.36] (HELO mail.digg.com) (64.191.203.36) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Sep 2009 06:00:18 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.digg.com (Postfix) with ESMTP id 9A41EA84FBC for ; Tue, 15 Sep 2009 22:59:57 -0700 (PDT) X-Virus-Scanned: amavisd-new at d242.digg.internal Received: from mail.digg.com ([127.0.0.1]) by localhost (mail.digg.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oVs0XrDutiYS for ; Tue, 15 Sep 2009 22:59:57 -0700 (PDT) Received: from [10.2.16.222] (diggstage01.digg.com [64.191.203.34]) by mail.digg.com (Postfix) with ESMTP id 578CCA84EFF for ; Tue, 15 Sep 2009 22:59:57 -0700 (PDT) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Mime-Version: 1.0 (Apple Message framework v1076) Subject: Re: random n00b question From: Chris Goffinet In-Reply-To: <4c3967db5a7d1af062f5d90e7d4ce411@mail> Date: Tue, 15 Sep 2009 22:59:56 -0700 Content-Transfer-Encoding: 7bit Message-Id: <14A1BA5B-E126-46C0-9F8D-E47F608E2F9C@digg.com> References: <4AAE1581.90309@boboco.ie> <7bfc6c610909141609k20f402c7o4419428916e8a642@mail.gmail.com> <7bfc6c610909141623k382b8302g1c6c9c9a8f9bfc2a@mail.gmail.com> <4AAF6CCA.3030205@boboco.ie> <4c3967db5a7d1af062f5d90e7d4ce411@mail> To: cassandra-user@incubator.apache.org X-Mailer: Apple Mail (2.1076) X-Virus-Checked: Checked by ClamAV on apache.org Using memcached as a write-back cache is good, using it solely for sessions IMHO is bad idea. Data can be easily pushed out if your thrashing the more common slabs (unless you really tuned it properly). On Sep 15, 2009, at 10:56 PM, wrote: > Is there a specific reason to store the session data in the > database? For my web-app, I use a memcached cluster, which > alleviates the database load. > > Shahan > > On Tue, 15 Sep 2009 10:13:41 -0500, Jonathan Ellis > wrote: > > On Tue, Sep 15, 2009 at 10:09 AM, Mark Robson wrote: > >> Even using quorum reads and writes, if a user in the same session > has two > >> pages active at once, session data would be trashed. > > > > True. But for most web apps I've seen, last-write-wins is just > fine. > > YMMV. :) > > > > -Jonathan