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 203DD8F7E for ; Tue, 30 Aug 2011 10:31:28 +0000 (UTC) Received: (qmail 95699 invoked by uid 500); 30 Aug 2011 10:31:25 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 94639 invoked by uid 500); 30 Aug 2011 10:31:10 -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 94631 invoked by uid 99); 30 Aug 2011 10:31:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Aug 2011 10:31:06 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of etamme@gmail.com designates 209.85.161.44 as permitted sender) Received: from [209.85.161.44] (HELO mail-fx0-f44.google.com) (209.85.161.44) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Aug 2011 10:30:59 +0000 Received: by fxe6 with SMTP id 6so5668883fxe.31 for ; Tue, 30 Aug 2011 03:30:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=8iiQ3Fs/ChxEPiP51jagKn9dte6OMBY9q46QuzxabvM=; b=PsRweSK10qgETQkcUbLzae/I22W6BzyVd/NT3lRfRBlmOKpOtrv22dTQhLwVx7KKLK kc6MiuKZKGFyhxbopzOJS9dN4hleEpwmvsqjYRsHjTiK1XgbERL0XCEtvCWOAdHDGj8H m++ItBkfYhO2x3HTudwX0Yaq4X3pX0THppn6E= MIME-Version: 1.0 Received: by 10.223.54.134 with SMTP id q6mr21913fag.130.1314700238019; Tue, 30 Aug 2011 03:30:38 -0700 (PDT) Received: by 10.223.70.141 with HTTP; Tue, 30 Aug 2011 03:30:38 -0700 (PDT) Date: Tue, 30 Aug 2011 06:30:38 -0400 Message-ID: Subject: asynchronous writes (aka consistency = 0) From: Eric tamme To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Is there any mechanism that would allow me to write to Cassandra with no blocking at all? I spent a long time figuring out a problem I encountered with one node in each datacenter: LA, and NY using SS RF=1 and write consistency 1. My row keys are yyyy-mm-dd-h so basically for every hour a row would pin to one datacenter and I would get fast writes from one location. This would change periodically as the hour changed (took forever to figure out what was going on). The whole point of switching to SS from NTS was so I could reduce data redundancy (this is basically throw away data), but the delay in writing cross country is too high with SS since the minimum consistency will cause cassandra blocks to ensure there is ONE write (assuming all nodes are up). NTS does allow me to localize the block on writes by doing strategy options NY=1,LA=1.. but then I am back to storing duplicate data. I'd like to be able to use SS with RF1 and write consistency=0 (or some thing like that). Any thoughts?