incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Dividing the client load between machines in Cassandra
Date Tue, 16 Mar 2010 21:48:20 GMT
http://wiki.apache.org/cassandra/FAQ#node_clients_connect_to

On Tue, Mar 16, 2010 at 4:30 PM, Sonny Heer <sonnyheer@gmail.com> wrote:
> How can I accomplish this?
>
> The way I'm doing it now it is creating a TSocket connection using a
> static IP of one of the boxes on Cassandra:
>        TTransport tr = new TSocket(host, port.intValue());
>        TProtocol proto = new TBinaryProtocol(tr);
>        Cassandra.Client client = new Cassandra.Client(proto);
>        tr.open();
>
> With a larger cluster I would imagine there is another preferred
> solution with no single point of failure (e.g. that one box  goes
> down).
>

Mime
View raw message