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 9F1A6D9DF for ; Tue, 5 Mar 2013 16:50:55 +0000 (UTC) Received: (qmail 94930 invoked by uid 500); 5 Mar 2013 16:50:53 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 94872 invoked by uid 500); 5 Mar 2013 16:50:52 -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 94843 invoked by uid 99); 5 Mar 2013 16:50:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Mar 2013 16:50:51 +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 (athena.apache.org: domain of arodrime@gmail.com designates 209.85.219.50 as permitted sender) Received: from [209.85.219.50] (HELO mail-oa0-f50.google.com) (209.85.219.50) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Mar 2013 16:50:47 +0000 Received: by mail-oa0-f50.google.com with SMTP id l20so11281446oag.9 for ; Tue, 05 Mar 2013 08:50:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=gxBLy0E3hMrhp9nOS0URRnZhZq7CPRvICwz+i+5GkB4=; b=Ndx+qKayaBI2WCzIcy7lIysa2ae4WbCl4qvHiWutAp8GC5PeiRGdyacZbC3qkJRdvx 8h0A1lVbO6lV5Jj56+P8QLXNG6V/NhGx1hCeTvkWDbyX+mKo2fguzMJsgAT12kB/OpHi Ek1i08vTR/fDdr/9aXMKSutxtm+1snrdeBqWkG753ElL0eWdUGaSUBefSAmcOluuoufB TbZzwHrd9aIo0ibsPO9Ny6ag49wnAkSEx3HZIObObRmjgluO7c2iiK2f95/gaLqOwPZ/ iD1s22GCexOjsu4JiNrIeeuMq6o2qIPCgpvHKzY/W0ZYYjB98h2PEj/okrn6AFvmFIUX Hs3w== X-Received: by 10.60.32.143 with SMTP id j15mr19451932oei.7.1362502226780; Tue, 05 Mar 2013 08:50:26 -0800 (PST) MIME-Version: 1.0 Received: by 10.60.131.66 with HTTP; Tue, 5 Mar 2013 08:50:06 -0800 (PST) In-Reply-To: References: From: Alain RODRIGUEZ Date: Tue, 5 Mar 2013 17:50:06 +0100 Message-ID: Subject: Re: LCS and counters To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=e89a8fb1ee6e3ba78904d730459a X-Virus-Checked: Checked by ClamAV on apache.org --e89a8fb1ee6e3ba78904d730459a Content-Type: text/plain; charset=ISO-8859-1 Well no one says my assertion is false, so it is probably true. Going further, what would be the steps to migrate from STC to LCS ? Is there any precautions to take doing it using C*1.1.6 (like removing commit logs since drain is broken) ? Any insight or link on this procedure would be appreciated. 2013/2/25 Janne Jalkanen > > At least for our use case (reading slices from varyingly sized rows from > 10-100k composite columns with counters and hundreds of writes/second) LCS > has a nice ~75% lower read latency than Size Tiered. And compactions don't > stop the world anymore. Repairs do easily trigger a few hundred > compactions though, but it's not that bad. > > /Janne > > On Feb 25, 2013, at 17:10 , Alain RODRIGUEZ wrote: > > > Hi > > > > I am just wondering... Wouldn't it always be worth it to use LCS on > counter CF since LCS is optimized for reads and that writing a counter > always require a read ? > > > > Alain > > --e89a8fb1ee6e3ba78904d730459a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Well no one says my assertion is false, so it is probably = true.

Going further, what would be the steps to migrate = from STC to LCS ? Is there any precautions to take doing it using C*1.1.6 (= like removing commit logs since drain is broken) ?=A0

Any insight or link on this procedure would be apprecia= ted.


2013/= 2/25 Janne Jalkanen <Janne.Jalkanen@ecyrd.com>

At least for our use case (reading slices from varyingly sized rows from 10= -100k composite columns with counters and hundreds of writes/second) LCS ha= s a nice ~75% lower read latency than Size Tiered. And compactions don'= t stop the world anymore. =A0Repairs do easily trigger a few hundred compac= tions though, but it's not that bad.

/Janne

On Feb 25, 2013, at 17:10 , Alain RODRIGUEZ <arodrime@gmail.com> wrote:

> Hi
>
> I am just wondering... Wouldn't it always be worth it to use LCS o= n counter CF since LCS is optimized for reads and that writing a counter al= ways require a read ?
>
> Alain


--e89a8fb1ee6e3ba78904d730459a--