Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 76818 invoked from network); 23 Jul 2009 04:30:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Jul 2009 04:30:33 -0000 Received: (qmail 8049 invoked by uid 500); 23 Jul 2009 04:31:38 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 7995 invoked by uid 500); 23 Jul 2009 04:31:38 -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 7986 invoked by uid 99); 23 Jul 2009 04:31:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jul 2009 04:31:38 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mobiledreamers@gmail.com designates 209.85.132.249 as permitted sender) Received: from [209.85.132.249] (HELO an-out-0708.google.com) (209.85.132.249) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jul 2009 04:31:30 +0000 Received: by an-out-0708.google.com with SMTP id c38so324314ana.0 for ; Wed, 22 Jul 2009 21:31:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=56M6ZzfojANTL81ukeMKXoPstO9NxZ0FhZMuiormgFM=; b=t+3HQsPDGx6QKaUP0/4TRddK/WH2uLNw0yYzzvFkAmeuSkbLtRTna2zEQqjOEO0U5o agyD/jwC03jJPqvLmUx4Us/TVfnzUQTO0lOlnw8wa+HtuSTDhmNUAVoMxMQYSG2ASMPK 0D+rvmsyujftkEcRv5oVv3exhAMLKzUfRNT2M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=VEk+8h0qaTwxDuyQ8eHARS5Tlge0QiFgn3jHLwWUtReJdJENeuILqnrBfSTBzmlpzF lWVyQOxlak6lhDySLpkRzsxycuuT8SVx0EQng48KiL7J5bS/rLFGu8LN0Plur5ZsPyDs EvBhy/QPEik3bJgttXpPWOHQWW8SQi87MYw2A= MIME-Version: 1.0 Received: by 10.101.66.17 with SMTP id t17mr2324816ank.41.1248323469606; Wed, 22 Jul 2009 21:31:09 -0700 (PDT) Date: Wed, 22 Jul 2009 21:31:09 -0700 Message-ID: Subject: idiomatic way to do zeitgeist kind of counter behavior in cassandra From: mobiledreamers@gmail.com To: cassandra-user@incubator.apache.org Content-Type: multipart/alternative; boundary=0016368e1f86f880b6046f57f464 X-Virus-Checked: Checked by ClamAV on apache.org --0016368e1f86f880b6046f57f464 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I m trying to figure out how to implement a zeitgeist in cassandra How do we implement the counter, do we need to the get the value increment and insert again or are there other ways to do this thanks a lot --0016368e1f86f880b6046f57f464 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I m trying to figure out how to implement a zeitgeist in cassandra

How do we implement the counter, do we need to the get the value increment and insert again
or are there other ways to do this

thanks a lot
--0016368e1f86f880b6046f57f464--