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 4BE2B1196F for ; Sat, 17 May 2014 18:35:15 +0000 (UTC) Received: (qmail 52166 invoked by uid 500); 17 May 2014 18:35:08 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 51886 invoked by uid 500); 17 May 2014 18:35:08 -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 34206 invoked by uid 500); 17 May 2014 18:10:09 -0000 Delivered-To: apmail-incubator-cassandra-user@incubator.apache.org Received: (qmail 23322 invoked by uid 99); 17 May 2014 17:49:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 May 2014 17:49:20 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of pkdogcom@gmail.com does not designate 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 May 2014 17:49:14 +0000 Received: from jim.nabble.com ([192.168.236.80]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Wlij8-0000Nb-4i for cassandra-user@incubator.apache.org; Sat, 17 May 2014 10:48:54 -0700 Date: Sat, 17 May 2014 10:48:54 -0700 (PDT) From: ziju feng To: cassandra-user@incubator.apache.org Message-ID: <1400348934137-7594539.post@n2.nabble.com> In-Reply-To: References: <1400287039188-7594517.post@n2.nabble.com> Subject: Re: Data modeling for Pinterest-like application MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I was thinking to use counter type a separate pin counter table and, when I need to update the like count, I would use read-after-write to get the current value and timestamp and then denormalize into pin's detail table and board tables. Is it a viable solution in this case? Thanks -- View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Data-modeling-for-Pinterest-like-application-tp7594481p7594539.html Sent from the cassandra-user@incubator.apache.org mailing list archive at Nabble.com.