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 F165C22EF for ; Mon, 25 Apr 2011 09:27:21 +0000 (UTC) Received: (qmail 5734 invoked by uid 500); 25 Apr 2011 09:27:20 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 5671 invoked by uid 500); 25 Apr 2011 09:27:19 -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 5663 invoked by uid 99); 25 Apr 2011 09:27:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Apr 2011 09:27:19 +0000 X-ASF-Spam-Status: No, hits=3.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of pankajsoni0126@gmail.com designates 209.85.213.44 as permitted sender) Received: from [209.85.213.44] (HELO mail-yw0-f44.google.com) (209.85.213.44) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Apr 2011 09:27:13 +0000 Received: by ywi6 with SMTP id 6so743400ywi.31 for ; Mon, 25 Apr 2011 02:26:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=WDbQdVeJIZvogDvvReWZNtmkjP75vPGx5SFope/x2iY=; b=TvK8W5Sa3koawcDANa/ES94BXKE7v5aEHyseAE28Ne6Z2jPqV6JjprlFRy9KrCDP9n K62uXWQDWkYakPS1QdnnX96QSJHko5Ng92NHWXrFpYCUDSFagzzhAyLXB3tdfILjA4xv pZnFBuWjiElaDDgc1zgZUv9z3oohoCbs3jcoQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=FJVqknEL5q7M7o3SumtaEgP8IdY1fxtUoEdWs/cHCpgYl0QBWvzpJuZ1sju0FM3Wge ylR+Hj9QGWS0Ad+wrJd0FYkmJ4biHMMXfo28gAkwPK01alNayZWbTsvhmUm8EDcSB8Ua ASyzvoD0n4Xmmucgq/Aq+nU7zOv1IaD5mSIzk= MIME-Version: 1.0 Received: by 10.236.170.199 with SMTP id p47mr653151yhl.256.1303723612893; Mon, 25 Apr 2011 02:26:52 -0700 (PDT) Received: by 10.147.39.9 with HTTP; Mon, 25 Apr 2011 02:26:52 -0700 (PDT) Date: Mon, 25 Apr 2011 14:56:52 +0530 Message-ID: Subject: IP address resolution in MultiDC setup From: pankaj soni To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=20cf305b1220d4f1f704a1bace4e --20cf305b1220d4f1f704a1bace4e Content-Type: text/plain; charset=ISO-8859-1 Hi, We have a scenario for which we are considering using apache Cassandra for deployment for our data storage needs.The setup is to be spread across multiple data centers in different regions(physical locations). With each data center having multiple nodes. However we can afford at most 1 public IP address for each data center. With nodes inside the data center communicating over private IP. We plan to use RF=3 and OldNetworkTopologyStrategy for replica placement. 1 . This leads us to question that how will node discovery take place and how will Cassandra ring be formed between multiple data centers? 2. How is data partitioning to be carried on in this scenario? 3. If say data resides in Data center 1 node 2 and read query is sent to Data center 2 node 1, assuming it DC2 has no local replica than how is read query to be serviced? This is our biggest concern as articles relating to public/private IPs for cassandra could not be found. As in Cassandra any node can be queried for data and same goes for write requests, cassandra is our first choice in environments we have to deploy. Any suggestion is welcome. pankaj --20cf305b1220d4f1f704a1bace4e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,=A0

We h= ave a scenario for which we are considering using apache Cassandra for depl= oyment for our data storage needs.The setup is to be spread across multiple= data centers in different regions(physical locations). With each data cent= er having multiple nodes. However we can afford at most 1 public IP address= for each data center. With nodes inside the data center communicating over= private IP. We plan to use RF=3D3 and=A0OldNetworkTopologyStrategy f= or replica placement.


1 . This leads us to question that how w= ill node discovery take place and how will=A0Cassandra=A0ring be formed bet= ween multiple data centers?

2. =A0How is data part= itioning to be carried on in this scenario?

3. If say data resides in Data center 1 node 2 and read= query is sent to Data center 2 node 1, assuming it DC2 has no local replic= a than how is read query to be serviced?=A0This is our biggest concern as a= rticles relating to public/private IPs for cassandra could not be found.


As in Cassandra any node can be queried = for data and same goes for write requests, cassandra is our first choice in= environments we have to deploy.=A0

Any suggestion= is welcome.=A0

pankaj
--20cf305b1220d4f1f704a1bace4e--