From: Ted D. <ted...@gm...> - 2008-10-15 09:05:51
|
What is the received wisdom about how to handle the crash of a ZK server from the client. Clearly, reconnecting is necessary. Should that be done by the client by just using a watcher that probes a list of servers until it finds a live one? For that matter, what is best practice relative to initial connection? Are people using a load balancer to abstract away how many servers are in the zookeeper cluster? Or are they writing application code to probe the cluster until a live server is found? -- ted |