Dear developer,
I am just making research using zookeeper as a load
balancer.Recently,I plan to test the max load it can handle.But I have
some confuse about which I must consult to you .
Now I can handle about 300 clients with one server,when I set the
session time out is 300000000.
In your opinion , the session time out is set in which value more
suitable?
And in your experiments, how many clients per server can handle ?
what't more,I set the session time out is 30000000 which is a long
time.but when I run about 300 threads as clients,I get the err info as
follows.
********************************************************************************************************************************************************
2010-04-02 10:23:59,437 - WARN [main-SendThread:ClientCnxn$SendThread@967]
- Exception closing session 0x0 to sun.nio.ch.SelectionKeyImpl@46604660
java.net.ConnectException: Connection refused: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:573)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:933)
**************************************************************************************************************************************************
I already set the maxClientCnxns=0.
Thanks for your reply ,and I am looking forward the further answer .
with best wishes!
|