Benjamin Reed commented on ZOOKEEPER-733:

i figured out the timing issue for ACLTest. if you look at how NIOServerCnxn 
handles the readConnectRequest, you will notice that it disables the receipt of 
packets until the connect request is processed successfully. if you do that 
with netty, the ACLTest should work.

> use netty to handle client connections
> --------------------------------------
>                 Key: ZOOKEEPER-733
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-733
>             Project: Zookeeper
>          Issue Type: Improvement
>            Reporter: Benjamin Reed
>         Attachments: accessive.jar, moved.zip, ZOOKEEPER-733.patch, 
> ZOOKEEPER-733.patch
> we currently have our own asynchronous NIO socket engine to be able to handle 
> lots of clients with a single thread. over time the engine has become more 
> complicated. we would also like the engine to use multiple threads on 
> machines with lots of cores. plus, we would like to be able to support things 
> like SSL. if we switch to netty, we can simplify our code and get the 
> previously mentioned benefits.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

Reply via email to