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 7D5C5D6FA for ; Wed, 11 Jul 2012 05:33:58 +0000 (UTC) Received: (qmail 62243 invoked by uid 500); 11 Jul 2012 05:33:56 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 62216 invoked by uid 500); 11 Jul 2012 05:33:55 -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 62199 invoked by uid 99); 11 Jul 2012 05:33:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jul 2012 05:33:55 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FSL_RCVD_USER,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of prasen.bea@gmail.com designates 209.85.217.172 as permitted sender) Received: from [209.85.217.172] (HELO mail-lb0-f172.google.com) (209.85.217.172) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jul 2012 05:33:48 +0000 Received: by lbbgo11 with SMTP id go11so1293727lbb.31 for ; Tue, 10 Jul 2012 22:33:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=zCI+/zgK6wYFH5SAJQEAltfrFfHZ0p5BDCbUng7Jl6k=; b=vHo9cZv19EwqrmXDVfkZpRnyCQa6vgGZUOmBn7pcqPtGqz2OqncWyd+juFkgRaYADP eD/OhBvPUVjSSnGNuYATnbFtmoJzvgHJU3uLUlz6hcgBQNxxgfQQhh+f2A2BSt2yJKFh 6oDG5t7lc6ZlpYtgXodiuwD7eLUORKlhtPB91rg3VC1Q9fO/vfFXGhL7AEcLwjOa1mc+ Gs2E5Kg/YVDsobNCU2Ixb+kWQRaslS8GNBfQSFb7n6g4rXFcQxbfQHgJY9w79FgEM9Sw qxLkxU4hz8AR6Q9EzfQoBS3rGeBdHfAwl+mRy0OMqHDHWmRoUCCxjeak19AuxNjarRoi lYxQ== MIME-Version: 1.0 Received: by 10.112.85.72 with SMTP id f8mr21210297lbz.65.1341984808200; Tue, 10 Jul 2012 22:33:28 -0700 (PDT) Received: by 10.112.11.69 with HTTP; Tue, 10 Jul 2012 22:33:28 -0700 (PDT) Date: Wed, 11 Jul 2012 11:03:28 +0530 Message-ID: Subject: How to come up with a predefined topology From: prasenjit mukherjee To: user Content-Type: text/plain; charset=ISO-8859-1 Quoting from http://www.datastax.com/docs/0.8/cluster_architecture/replication#networktopologystrategy : "Asymmetrical replication groupings are also possible depending on your use case. For example, you may want to have three replicas per data center to serve real-time application requests, and then have a single replica in a separate data center designated to running analytics." Have 2 questions : 1. Any example how to configure a topology with 3 replicas in one DC ( with 2 in 1 rack + 1 in another rack ) and one replica in another DC ? The default networktopologystrategy with rackinferringsnitch will only give me equal distribution ( 2+2 ) 2. I am assuming the reads can go to any of the replicas. Is there a client which will send query to a node ( in cassandra ring ) which is closest to the client ? -Thanks, Prasenjit