Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 48175 invoked from network); 1 Sep 2010 21:52:03 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Sep 2010 21:52:03 -0000 Received: (qmail 94829 invoked by uid 500); 1 Sep 2010 21:52:02 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 94760 invoked by uid 500); 1 Sep 2010 21:52:01 -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 94752 invoked by uid 99); 1 Sep 2010 21:52:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Sep 2010 21:52:01 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,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 edlinuxguru@gmail.com designates 209.85.214.44 as permitted sender) Received: from [209.85.214.44] (HELO mail-bw0-f44.google.com) (209.85.214.44) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Sep 2010 21:51:56 +0000 Received: by bwz9 with SMTP id 9so67136bwz.31 for ; Wed, 01 Sep 2010 14:51:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=7a3ssehIhC+9nVeIcQ1mCBB28yr4Ww77zfPjw7xfLk8=; b=OBKEtGfQdQEXAH+zGJCrmH3p6ClBPNbouAro23IPNS+QXPfulljB1h1eaQattrPwhI GRkEtWNjHuBIqOv9Pj43klfGW7HylSwtM9PCH/DYtvOqkAXwKgswBYpFt7aAsTn/UeY2 Fjj/wjW8AQXRSVKA+s6jfVP7niOtkS/zMXsLA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=kcPYCGg48dcRJJ5fB0lkAQoDfG043UzMml1TX8N9t/jfenCDIJUEKdsWpAqDSjPqPx izE8oPiYCKp0qzltgv/ku9/6OwQwt/GikMTZtQ8DeUoLw4qcghl9Sr1mbIT1tf3asIYZ dUXdLQExn2fGe9MYsT3XBWq9WxcipL8eHzFgw= MIME-Version: 1.0 Received: by 10.204.59.196 with SMTP id m4mr1753349bkh.137.1283377895069; Wed, 01 Sep 2010 14:51:35 -0700 (PDT) Received: by 10.204.118.1 with HTTP; Wed, 1 Sep 2010 14:51:35 -0700 (PDT) In-Reply-To: <20100901204215.GA13162@alcatel-lucent.com> References: <20100901162612.GA5944@alcatel-lucent.com> <4C7EB31C.2090609@qualcomm.com> <20100901204215.GA13162@alcatel-lucent.com> Date: Wed, 1 Sep 2010 17:51:35 -0400 Message-ID: Subject: Re: Cassandra on AWS across Regions From: Edward Capriolo To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Wed, Sep 1, 2010 at 4:42 PM, Peter Fales wrote: > I probably should have made it clear that I wasn't proposing this as > an official patch (as you point out, it's not general enough for > production use). =A0 I'm just looking for feedback on the concept (thanks= !) > and thought it might possibly be useful to other folks trying to > do the same thing. > > > On Wed, Sep 01, 2010 at 03:24:44PM -0500, Benjamin Black wrote: >> The issue is this: >> >> The IP address by which an EC2 instance is known _externally_ is not >> actually on the instance itself (the address being translated), and >> the _internal_ address is not accessible across regions. =A0Since you >> can't bind a specific address that is not on one of your local >> interfaces, and Cassandra nodes don't have a notion of internal vs >> external you need a mechanism by which a node is told to bind one IP >> (the internal one), while it gossips another (the external one). >> >> I like what this patch does conceptually, but would prefer >> configuration options to cause it to happen (obviously a much larger >> patch). =A0Very cool, Peter! >> >> >> b >> >> On Wed, Sep 1, 2010 at 1:10 PM, Andres March wrote= : >> > Could you explain this point further?=A0 Was there an exception? >> > >> > On 09/01/2010 09:26 AM, Peter Fales wrote: >> > >> > that doesn't quite work with the stock Cassandra, as it will >> > try to bind and listen on those addresses and give up because they >> > don't appear to be valid network addresses. >> > >> > -- >> > Andres March >> > amarch@qualcomm.com >> > Qualcomm Internet Services > > -- > Peter Fales > Alcatel-Lucent > Member of Technical Staff > 1960 Lucent Lane > Room: 9H-505 > Naperville, IL 60566-7033 > Email: Peter.Fales@alcatel-lucent.com > Phone: 630 979 8031 > Even though the performance will be impacted, this essentially is allowing cassandra to run over Network Address Translated IP. Not a bad thing.