cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: How do cassandra clients failover?
Date Mon, 01 Feb 2010 14:08:07 GMT
No.  Thrift is just an RPC mechanism.  Whether RRDNS, software or
hardware load balancing, or client-based failover like Gary describes
is best is not a one-size-fits-all answer.

2010/2/1 Noble Paul നോബിള്‍  नोब्ळ् <noble.paul@corp.aol.com>:
> is it worth adding this feature to the standard java client?
>
> On Mon, Feb 1, 2010 at 7:28 PM, Gary Dusbabek <gdusbabek@gmail.com> wrote:
>> One approach is to discover what other nodes there are before any of
>> them fail.  Then when you detect failure, you can connect to a
>> different node that is (hopefully) still responding.
>>
>> There is an API call that allows you get get a list of all the nodes:
>> client.get_string_property("token map"), which returns a JSON list of
>> the node ring.
>>
>> I hope that helps.
>>
>> Gary.
>>
>> 2010/2/1 Noble Paul നോബിള്‍  नोब्ळ् <noble.paul@gmail.com>:
>>> The cassandra client (thift client) is started up with the host:post
>>> of a single cassandra node.
>>>
>>> * What happens if that node fails?
>>> * Does it mean that all the operations go through the same node?
>>>
>>> --Noble
>>>
>>
>
>
>
> --
> -----------------------------------------------------
> Noble Paul | Systems Architect| AOL | http://aol.com
>

Mime
View raw message