Virtual IP / hardware load balancing for cassandra nodes

2010-12-20 Thread Jonathan Colby
I was unable to find example or documentation on my question. I'd like to know what the best way to group a cluster of cassandra nodes behind a virtual ip. For example, can cassandra nodes be placed behind a Citrix Netscaler hardware load balancer? I can't imagine it being a problem, but in

Re: Virtual IP / hardware load balancing for cassandra nodes

2010-12-20 Thread Daniel Doubleday
You will loose part of the retry / fallback functionality offered by hector. The job of the client lib is not only load-balancing. I.e. if a node is bootstrapping it will accept TCP connections but throw an exception which will be communicated via thrift. The client lib is supposed to handle tha

Re: Virtual IP / hardware load balancing for cassandra nodes

2010-12-20 Thread Dave Viner
You can put a Cassandra cluster behind a load balancer. One thing to be cautious of is the health check. Just because the node is listening on port 9160 doesn't mean that it's healthy to serve requests. It is required, but not sufficient. The real test is the JMX values. Dave Viner On Mon, D

Re: Virtual IP / hardware load balancing for cassandra nodes

2010-12-20 Thread Jonathan Colby
Thanks guys. On Dec 20, 2010, at 5:44 PM, Dave Viner wrote: > You can put a Cassandra cluster behind a load balancer. One thing to be > cautious of is the health check. Just because the node is listening on port > 9160 doesn't mean that it's healthy to serve requests. It is required, but

Re: Virtual IP / hardware load balancing for cassandra nodes

2010-12-20 Thread Nate McCall
Current versions of Hector will mark the host as temporarily down if a connection times out (retrying N seconds later; defaults to 10). If you only have one host in your list, this will be an issue. It would be a good idea to use more than one VIP for this reason. Managing configurations on the ap