Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 46886 invoked from network); 18 Nov 2009 23:55:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Nov 2009 23:55:05 -0000 Received: (qmail 82122 invoked by uid 500); 18 Nov 2009 23:55:05 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 82106 invoked by uid 500); 18 Nov 2009 23:55:05 -0000 Mailing-List: contact cassandra-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-user@incubator.apache.org Delivered-To: mailing list cassandra-user@incubator.apache.org Received: (qmail 82097 invoked by uid 99); 18 Nov 2009 23:55:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Nov 2009 23:55:05 +0000 X-ASF-Spam-Status: No, hits=-6.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_MED X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [15.216.28.34] (HELO g1t0027.austin.hp.com) (15.216.28.34) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Nov 2009 23:55:02 +0000 Received: from G1W0400.americas.hpqcorp.net (g1w0400.americas.hpqcorp.net [16.236.31.10]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by g1t0027.austin.hp.com (Postfix) with ESMTPS id 0FDF73823A for ; Wed, 18 Nov 2009 23:54:42 +0000 (UTC) Received: from G3W0628.americas.hpqcorp.net (16.233.58.53) by G1W0400.americas.hpqcorp.net (16.236.31.10) with Microsoft SMTP Server (TLS) id 8.2.176.0; Wed, 18 Nov 2009 23:53:31 +0000 Received: from GVW0432EXB.americas.hpqcorp.net ([16.234.32.145]) by G3W0628.americas.hpqcorp.net ([16.233.58.53]) with mapi; Wed, 18 Nov 2009 23:53:30 +0000 From: "Freeman, Tim" To: "cassandra-user@incubator.apache.org" Date: Wed, 18 Nov 2009 23:53:29 +0000 Subject: Java Cassandra client connecting to a pool of servers? Thread-Topic: Java Cassandra client connecting to a pool of servers? Thread-Index: AcpoqlPhejY3Hd0SQw+22UfwXM0Pfw== Message-ID: <59DD1BA8FD3C0F4C90771C18F2B5B53A4C8432BDCB@GVW0432EXB.americas.hpqcorp.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 I'd like to be able to say that a cluster of Cassandra servers keeps workin= g even if one of the nodes goes down. This would require the clients to co= nnect to a different node if the one that it's using goes down. Is there c= ode on the client side to do this already? There's a "Cassandra.Client object pool" mentioned at the bottom of http://= wiki.apache.org/cassandra/ClientExamples, but I can't immediately tell if t= hat's alluding to something that exists in the source that I haven't found = yet, or perhaps it's something that doesn't exist that the client would hav= e to build. Tim Freeman Email: tim.freeman@hp.com Desk in Palo Alto: (650) 857-2581 Home: (408) 774-1298 Cell: (408) 348-7536 (No reception business hours Monday, Tuesday, and Thur= sday; call my desk instead.)