Re: About load balance in Zookeeper server

2010-03-03 Thread Qian Ye
thx mahadev :-) On Thu, Mar 4, 2010 at 4:05 AM, Mahadev Konar wrote: > Hi Qian, > I am not sure if I did respond to your email or not. Sorry, too many > emails > I am catching up on. You are right that if you specify just a single host > then the client would not be able to switch to another se

Re: About load balance in Zookeeper server

2010-03-03 Thread Mahadev Konar
Hi Qian, I am not sure if I did respond to your email or not. Sorry, too many emails I am catching up on. You are right that if you specify just a single host then the client would not be able to switch to another server. There have been some ideas around Dynamic configuration and storing zookeepe

Re: About load balance in Zookeeper server

2010-03-01 Thread Qian Ye
Thanks Mahadev, I see what you mean. Here is another question, the client need a list of Zookeeper servers to initialize the handler, and there is no API for the client to get awareness of all the Zookeeper servers in one cluster. That means, if I only provide one Zookeeper server in the client's

Re: About load balance in Zookeeper server

2010-03-01 Thread Mahadev Konar
HI Qian, You are right we do have any way of handling clients dynamically so that every server has balanced load. This requires a careful design since we would not want client connections to keep flipping around and also maintain stability as much as we can. We have had some discussions about it bu