it would have to be a TCP based load balancer to work with ZooKeeper
clients, but other than that it should work really well. The clients
will be doing heart beats so the TCP connections will be long lived. The
client library does random connection load balancing anyway.
On 11/03/2010 12:19 PM, Luka Stojanovic wrote:
What would be expected behavior if a three node cluster is put behind a load
balancer? It would ease deployment because all clients would be configured
to target zookeeper.example.com regardless of actual cluster configuration,
but I have impression that client-server connection is stateful and that
jumping randomly from server to server could bring strange behavior.