Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 45436 invoked from network); 21 Oct 2010 00:35:10 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 Oct 2010 00:35:10 -0000 Received: (qmail 60071 invoked by uid 500); 21 Oct 2010 00:35:08 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 59983 invoked by uid 500); 21 Oct 2010 00: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 59975 invoked by uid 99); 21 Oct 2010 00:35:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Oct 2010 00:35:08 +0000 X-ASF-Spam-Status: No, hits=4.4 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,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 wickedj2010@gmail.com designates 74.125.83.172 as permitted sender) Received: from [74.125.83.172] (HELO mail-pv0-f172.google.com) (74.125.83.172) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Oct 2010 00:35:01 +0000 Received: by pvg4 with SMTP id 4so660407pvg.31 for ; Wed, 20 Oct 2010 17:34:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=McSz5YfpB6VT4C9dJaE5Byw+ir68U0z7PKTgE5o1L+s=; b=cBqzZf/gFTjKKpIJDvsGyBTm7b/wce0niP0iM+q/W6hrIOoBy3l3E4UL4O/NJlzMQC zLPinvt1lcL3Ep/jvWI7anKYu2TAvc+0jv8Ae+Lq2w8gWgN54A5OemJBKcvc5b4vVUFO Rt8yT5xf/J5/GtPhyu8CejTif4zzEDClX0kvw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=kwbejhaYiR7u09xuam0Bc4HVurEVGZb5AM15A/+VtlSsVhCDFxpSBv+2OSrghS3qiG iVxGzyr/tYXYO4p9ue0SyW/uDd31VPmEQbRB1eKpnH4aWK8XFnbtDb9gmgUUq2HvFMC5 Weu8A9o06mFj/7gELVeR9QUucDPfdqn1AhH50= MIME-Version: 1.0 Received: by 10.142.223.7 with SMTP id v7mr121053wfg.358.1287621281270; Wed, 20 Oct 2010 17:34:41 -0700 (PDT) Received: by 10.142.191.19 with HTTP; Wed, 20 Oct 2010 17:34:41 -0700 (PDT) Date: Wed, 20 Oct 2010 17:34:41 -0700 Message-ID: Subject: Transaction/Locking Support From: Wicked J To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=000e0cd21728134bb7049315b14e --000e0cd21728134bb7049315b14e Content-Type: text/plain; charset=ISO-8859-1 Hi, I'm trying to persist the contents of my app. objects to Cassandra. The objects in here are loosely modeled on key value (KV) stores. If the KV store is extended from HashMap and mapped to a ColumnFamily with put and get ops mapping to insert/read from Cassandra. Then my questions are: a) What operations in Cassandra can be considered to be atomic - reads? Is reading (of rows by concurrent threads/clients) atomic across one Column Family or across multiple (e.g. two) Column Families? assume get_range_slices ..with ConsistencyLevel.QUORUM b) Consistency of write/update/delete ops across CF's by concurrent clients/threads? In order to make them consistent or atomic, would insert(..) with ConsistencyLevel.QUORUM be a good idea. Or would you recommend external components like ZooKeeper or Hazelcast etc to coordinate such operations? Thanks! --000e0cd21728134bb7049315b14e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,
I'm trying to persist the contents of my app. objects to Cassand= ra. The objects in here are loosely modeled on key value (KV) stores. If th= e KV store is extended from HashMap and mapped to a ColumnFamily with put a= nd get ops mapping to insert/read from Cassandra. Then my questions are:
a) What operations in Cassandra can be considered to be atomic - reads?= Is reading (of rows by concurrent threads/clients) atomic across one Colum= n Family or across multiple (e.g. two) Column Families? assume get_range_sl= ices ..with ConsistencyLevel.QUORUM
b) Consistency of write/update/delete ops across CF's by concurrent cli= ents/threads? In order to make them consistent or atomic, would insert(..) = with ConsistencyLevel.QUORUM be a good idea. Or would you recommend externa= l components like ZooKeeper or Hazelcast etc to coordinate such operations?=

Thanks!
--000e0cd21728134bb7049315b14e--