Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 48867 invoked from network); 11 Apr 2010 07:10:03 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Apr 2010 07:10:03 -0000 Received: (qmail 22704 invoked by uid 500); 11 Apr 2010 07:10:02 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 22629 invoked by uid 500); 11 Apr 2010 07:10:01 -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 22621 invoked by uid 99); 11 Apr 2010 07:10:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Apr 2010 07:10:01 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of shulmanb@gmail.com designates 74.125.82.44 as permitted sender) Received: from [74.125.82.44] (HELO mail-ww0-f44.google.com) (74.125.82.44) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Apr 2010 07:09:56 +0000 Received: by wwb34 with SMTP id 34so1371497wwb.31 for ; Sun, 11 Apr 2010 00:09:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:content-type :content-transfer-encoding; bh=TeBNUAs4t5PunEs9yt4B0lFN7fUT0zVI5RYe/4kiUHw=; b=DkQUICd33YSGqvZxYogXTWPVV3rVC16WZAMyyEdgZQrHVbDPiv3Cx70N3EnZF0vhPK 7cXXUMsLL/UyI3THm/DS+5xUld3q3VER7TOqh2FU5n2Ijs4/IQv8MfYYXFBBkk+mjzNd cfAN81L0wXSanjGmUUC/LkkefZ0+kWPs1qg64= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=jq7ESyHOPNAyXsi6f4dL9pja/chdLWzvHiFRFh9kchZATyC0tcBNs/YoVKtRot8fxr MoX/1DPOWmmaMgFg2pr1w0Y9j9evvvdNCJj13y1Um+rftUQaseWvL1x4ZRKiKf91/b6p ov8vKNTHHoaqUKBY+KVlP6Dfy8IyKLTgrQrxA= MIME-Version: 1.0 Received: by 10.216.71.144 with HTTP; Sun, 11 Apr 2010 00:09:34 -0700 (PDT) In-Reply-To: <7CCA8823-C777-4326-92DB-2C2719F014B0@digg.com> References: <71AAD35C-E463-4B06-8DD7-34658F0665D3@digg.com> <7CCA8823-C777-4326-92DB-2C2719F014B0@digg.com> Date: Sun, 11 Apr 2010 10:09:34 +0300 Received: by 10.216.175.142 with SMTP id z14mr1323777wel.73.1270969774871; Sun, 11 Apr 2010 00:09:34 -0700 (PDT) Message-ID: Subject: Re: if cassandra isn't ideal for keep track of counts, how does digg count diggs? From: Boris Shulman To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable What will be the latency for the zk based atomic increase? On Tue, Apr 6, 2010 at 8:22 PM, Chris Goffinet wrote: > http://issues.apache.org/jira/browse/CASSANDRA-704 > http://issues.apache.org/jira/browse/CASSANDRA-721 > We have our own internal codebase of Cassandra at Digg. But we are using > those above patches until we have the vector clock work cleaned up, that > patch will also goto jira. Most likely the vector clock work will go into > 0.7, but since we run 0.6 and built it for that version, we will share th= at > patch too. > -Chris > On Apr 6, 2010, at 10:17 AM, S Ahmed wrote: > > Chris, > When you so patch, does that mean for Cassandra or your own internal > codebase? > Sounds interesting thanks! > > On Tue, Apr 6, 2010 at 12:54 PM, Chris Goffinet wrote= : >> >> That's not true. We have been using the Zookeper work we posted on jira. >> That's what we are using internally and have been for months. We are now >> just wrapping up our vector clocks + distributed counter patch so we can >> begin transitioning away from the Zookeeper approach because there are >> problems with it long-term. >> >> -Chris >> >> On Apr 6, 2010, at 9:50 AM, Ryan King wrote: >> >> > They don't use cassandra for it yet. >> > >> > -ryan >> > >> > On Tue, Apr 6, 2010 at 9:00 AM, S Ahmed wrote: >> >> From what I read in another thread, Cassandra isn't used for isn't >> >> 'ideal' >> >> for keeping track of counts. >> >> For example, I would undertand this to mean keeping track of which >> >> stories >> >> were dugg. >> >> If this is true, how would a site like digg keep track of the 'dugg' >> >> counter? >> >> Also, I am assuming with eventual consistancy the number *may* not be >> >> 100% >> >> accurate. =A0If you wanted it to be accurate, would you just use the >> >> Quorom >> >> flag? (I believe quorom is to ensure all writes are written to disk) >> > > >