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 7EC97479B for ; Thu, 23 Jun 2011 02:54:06 +0000 (UTC) Received: (qmail 53053 invoked by uid 500); 23 Jun 2011 02:54:04 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 52817 invoked by uid 500); 23 Jun 2011 02:54:02 -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 52809 invoked by uid 99); 23 Jun 2011 02:54:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2011 02:54:01 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [204.13.248.74] (HELO mho-02-ewr.mailhop.org) (204.13.248.74) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2011 02:53:54 +0000 Received: from 67-6-247-165.hlrn.qwest.net ([67.6.247.165] helo=[192.168.0.2]) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.72) (envelope-from ) id 1QZa2v-0001WC-FG for user@cassandra.apache.org; Thu, 23 Jun 2011 02:53:33 +0000 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 67.6.247.165 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/lHu1qAqnAwbZBMbNJWH8EYq2uPcreDQ4= Message-ID: <4E02AAA7.3020303@dude.podzone.net> Date: Wed, 22 Jun 2011 20:53:27 -0600 From: AJ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.18) Gecko/20110616 Lightning/1.0b2 Thunderbird/3.1.11 MIME-Version: 1.0 To: user@cassandra.apache.org Subject: Re: Is LOCAL_QUORUM as strong as QUORUM? References: <4E027ECC.6080707@dude.podzone.net> <1308787016967-6506621.post@n2.nabble.com> <4E028DDD.6030504@dude.podzone.net> <4E028F47.6090708@dude.podzone.net> <1308795638535-6506937.post@n2.nabble.com> In-Reply-To: <1308795638535-6506937.post@n2.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 6/22/2011 8:20 PM, mcasandra wrote: > Well it depends on the requirements. If you use any combination of CL with > EACH_QUORUM it means you are accepting the fact that you are ok if one of > the DC is down. And in your scenario you care more about DCs being > consistent even if writes were to fail. Also you are ok with network > latency. > > I think there is a broader design question here and you might be able to > solve it with LOCAL_QUORUM if you handled it at application or load > balancing layer. Is this active/active data center? What's your actual > requirements? Are these external clients that can go to any data center? > > -- > View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Is-LOCAL-QUORUM-as-strong-as-QUORUM-tp6506592p6506937.html > Sent from the cassandra-user@incubator.apache.org mailing list archive at Nabble.com. > I require 3 (or more) geographically diverse dc's serving local users. The next arbitrary closest dc will serve as a 1-replica fail-over for the previous dc in case it becomes unavail altogether. So, each dc is active for it's locale and a failover for one of the others; like a daisy chain configuration. I was imagining a series of events where the primary dc gets updated at local_quorum, followed by that dc losing all network connectivity before the backup gets the change. Then, the same user gets redirected to the backup dc and does a read at local_quorum and gets stale data. But, I realize now if I substituted each_quorum for local_quorum for writes, then, in the case of fail-over, the writes would fail. That's fine for consistency's sake, but is a high price to pay. I have to think on this more and what I want. Thanks for the help.