From user-return-32403-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Tue Mar 5 10:39:55 2013 Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 83608EE00 for ; Tue, 5 Mar 2013 10:39:55 +0000 (UTC) Received: (qmail 59515 invoked by uid 500); 5 Mar 2013 10:39:52 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 59341 invoked by uid 500); 5 Mar 2013 10:39:51 -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 59311 invoked by uid 99); 5 Mar 2013 10:39:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Mar 2013 10:39:50 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ben@instaclustr.com designates 209.85.210.196 as permitted sender) Received: from [209.85.210.196] (HELO mail-ia0-f196.google.com) (209.85.210.196) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Mar 2013 10:39:44 +0000 Received: by mail-ia0-f196.google.com with SMTP id l25so1335346iad.11 for ; Tue, 05 Mar 2013 02:39:23 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:content-type:message-id:mime-version:subject:date :references:to:in-reply-to:x-mailer:x-gm-message-state; bh=L5Qbb5d/ngIB4A6GHzt5/D4gFCYBd1XM+LUKqvCrdpM=; b=IvxGj9kSVDe3GqqSNxkArznf5N3PC47+JVYE1Z8vVBUtmNM6Yy2ikMe6CMRtQwORf/ 0U7uX1s/63WDMM5YI6NV3cYW9ZnObUpe9KBCf4lIFdVJm6/cq5qYaHx9A4CUbmYDuYa9 6q6KT87eFGfoKg9ky8mVKl/bfUQWbOWgNiQYlGdg2PUkpJLpA7kuT484s+LLgdW9IpKx 8F/Rdmc7vYclK7QzGHyEPsrpA9M0jGwJ5dJV/nlo50Ac4Cd65OsFA+K37AFA+veAXt2y xzfofMJuIWdYOh+vV2vdiuWrg6RJsBM/flMlkWNuSxhp+ur7/YoGzjqFnoKSkLliAWYe PSeg== X-Received: by 10.50.33.203 with SMTP id t11mr5558352igi.97.1362479963056; Tue, 05 Mar 2013 02:39:23 -0800 (PST) Received: from [192.168.1.205] ([122.150.96.14]) by mx.google.com with ESMTPS id vb15sm16706114igb.9.2013.03.05.02.39.21 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 05 Mar 2013 02:39:22 -0800 (PST) From: Ben Bromhead Content-Type: multipart/alternative; boundary="Apple-Mail=_D90D5AA3-800E-423C-8B87-E53DFD91B926" Message-Id: <692C4AA7-7C01-4966-AFC2-902758E7BA37@instaclustr.com> Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: Cassandra instead of memcached Date: Tue, 5 Mar 2013 21:39:16 +1100 References: <1AF6A63F-43D8-4F48-B0CB-78DF9E94D382@venarc.com> To: user@cassandra.apache.org In-Reply-To: <1AF6A63F-43D8-4F48-B0CB-78DF9E94D382@venarc.com> X-Mailer: Apple Mail (2.1499) X-Gm-Message-State: ALoCoQmFlLim9NrH8lDw128dFXTs7J/isbdK45gkF/1SRnpc04da1QHTXze9Dco0li01vw2ij2zV X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_D90D5AA3-800E-423C-8B87-E53DFD91B926 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Check out = http://techblog.netflix.com/2012/07/benchmarking-high-performance-io-with.= html Netflix used Cassandra with SSDs and were able to drop their memcache = layer. Mind you they were not using it purely as an in memory KV store. Ben Instaclustr | www.instaclustr.com | @instaclustr On 05/03/2013, at 4:33 PM, Drew Kutcharian wrote: > Hi Guys, >=20 > I'm thinking about using Cassandra as an in-memory key/value store = instead of memcached for a new project (just to get rid of a dependency = if possible). I was thinking about setting the replication factor to 1, = enabling off-heap row-cache and setting gc_grace_period to zero for the = CF that will be used for the key/value store. >=20 > Has anyone tried this? Any comments? >=20 > Thanks, >=20 > Drew >=20 >=20 --Apple-Mail=_D90D5AA3-800E-423C-8B87-E53DFD91B926 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii Check out http://techblog.netflix.com/2012/07/benchmarking-high-performance-io-with.html

Netflix used Cassandra with SSDs and were able to drop their memcache layer. Mind you they were not using it purely as an in memory KV store.

Ben



On 05/03/2013, at 4:33 PM, Drew Kutcharian <drew@venarc.com> wrote:

Hi Guys,

I'm thinking about using Cassandra as an in-memory key/value store instead of memcached for a new project (just to get rid of a dependency if possible). I was thinking about setting the replication factor to 1, enabling off-heap row-cache and setting gc_grace_period to zero for the CF that will be used for the key/value store.

Has anyone tried this? Any comments?

Thanks,

Drew



--Apple-Mail=_D90D5AA3-800E-423C-8B87-E53DFD91B926--