Re: How do cassandra clients failover?

2010-02-02 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Mon, Feb 1, 2010 at 7:38 PM, Jonathan Ellis jbel...@gmail.com wrote: 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. Everyone who uses Cassandra would need to

How do cassandra clients failover?

2010-02-01 Thread Noble Paul നോബിള്‍ नोब्ळ्
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

Re: How do cassandra clients failover?

2010-02-01 Thread Gary Dusbabek
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),

Re: How do cassandra clients failover?

2010-02-01 Thread Jonathan Ellis
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.p...@corp.aol.com: is it worth adding this feature to the standard java