Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 96896 invoked from network); 7 Apr 2011 12:26:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Apr 2011 12:26:18 -0000 Received: (qmail 96722 invoked by uid 500); 7 Apr 2011 12:26:15 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 96680 invoked by uid 500); 7 Apr 2011 12:26:15 -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 96672 invoked by uid 99); 7 Apr 2011 12:26:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Apr 2011 12:26:15 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a57.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Apr 2011 12:26:10 +0000 Received: from homiemail-a57.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a57.g.dreamhost.com (Postfix) with ESMTP id 69A29208063 for ; Thu, 7 Apr 2011 05:25:49 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=thelastpickle.com; h=content-type :mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; q=dns; s= thelastpickle.com; b=rJgiEPYHnGF8aNrJfgT9BGao4RiIgaY9/OBGiQ2i/8h aq9+VPi4ObCYfRjoipb5AeT5A98hnj6HavwdWz+XWhZ44R7YC+chmbcSn7DJ9RN9 wmXmOq823msW0e75/qoZ88ZuY+yRse0n7tBKMowvdHgPX9IhIZyBg/vtkwokwP9c = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h= content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; s= thelastpickle.com; bh=+sbLZ+pHDIAN6vDcsuPzX1BhSfM=; b=NEtMJdJ7mh eVZwAcP5xomJAo63pRu4ZDuwvDSdWz/GDxAZlqGm5t5bvhgiNheHmLXpXS8leLhQ 7ZltOU09WQ2DSAwGRreQJWb7Sio8ejfDqFkflcW0QYN01wbp8YpkoD4M9tm4tBU4 zy16S+C64ZmJlP9C64XaoaoF3TEvOVi8M= Received: from [192.168.0.104] (CPE-58-175-240-72.hdcz1.win.bigpond.net.au [58.175.240.72]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a57.g.dreamhost.com (Postfix) with ESMTPSA id C3225208060 for ; Thu, 7 Apr 2011 05:25:48 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1082.1) Subject: Re: LB scenario From: aaron morton In-Reply-To: Date: Thu, 7 Apr 2011 22:25:45 +1000 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: user@cassandra.apache.org X-Mailer: Apple Mail (2.1082.1) I would look at your client and see if it can handle multiple pools. So = it will try to connect in the first pool, if that fails retry the other = nodes in that pool and then move to the next pool. I think hector has = grabbed some of the performance detection features from the = DynamicSnitch so may be a good place to start looking. =20 Hope that helps. Aaron =20 On 7 Apr 2011, at 03:26, A J wrote: > I have done some more research. My question now is: >=20 > 1. =46rom my tests I see that it matters a lot whether the = co-ordinator > node is local (geographically) to the client or not. > I will have a cassandra cluster where nodes will be distributed across > the globe. Say 3 in US east_cost, 3 in US west_coast and 3 in europe. > Now, if I can help, I would like to have most of the traffic from my > california clients being handled by the west_coast nodes. But incase > the west_coast nodes are down or slow, the co-ordinator node can be > elsewhere. >=20 > What is the best strategy to give different weight to different nodes, > where some nodes are preferred over the others. >=20 >=20 > Thanks. >=20 >=20 > On Tue, Apr 5, 2011 at 2:23 PM, Peter Schuller > wrote: >>> Can someone comment on this ? Or is the question too vague ? >>=20 >> Honestly yeah I couldn't figure out what you were asking ;) What >> specifically about the diagram are you trying to convey? >>=20 >> -- >> / Peter Schuller >>=20