General question about concurrent connections and Netty.
"이희승 (Trustin Lee)"
trustin at gmail.com
Tue Jun 29 05:38:14 EDT 2010
On 06/25/2010 02:47 PM, javadevmtl wrote:
>
> Is it possible that the OrderedMemmoryAwareExecutor is holding up the rest of
> the pipeline because of the ordering?
No, because each channel has its own key for ordering.
> When does the acceptor thread go back to reading the socket? Does the accept
> thread accept and hand off to the stream tyo another thread so it can
> continue accepting?
The thread that calls ServerSocket.accept() is a different thread, so it
shouldn't block when reading from other sockets.
> I don't have my code in front of me right now. But I had the above idea.
>
> I will also write a simple echo server and see if that can handle the 200
> concurrent connections... And then will add extra business logic and see if
> that affects it...
That's a great idea. Thank you so much for trying to figure out what's
the cause of the problem and I am eager to help you. Please update us
whenever you have more information. I will try to answer as much as I can.
Thanks for your patience,
Trustin
--
what we call human nature in actuality is human habit
http://gleamynode.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 293 bytes
Desc: OpenPGP digital signature
Url : http://lists.jboss.org/pipermail/netty-users/attachments/20100629/f6a8242c/attachment.bin
More information about the netty-users
mailing list