Netty Thread Model
Trustin Lee
tlee at redhat.com
Wed Dec 17 04:12:38 EST 2008
Hi,
Unfortunately, it is not documented yet. It's basically same with an
ordinary NIO application which is based on a typical Selector loop.
Unless you have added an ExecutionHandler with OrderedMemoryAwareThread-
PoolExecutor, then the ChannelHandlers will be executed as a part of the
Selector loop. If an ExecutionHandler is added to the ChannelPipeline,
the ChannelHandlers after the ExecutionHandler will be executed by
the OrderedMemoryAwareThreadPoolExecutor (or the Executor you
specified).
I'm not sure my answer is helpful or not. Please feel free to ask more
questions about this topic.
HTH,
Trustin
On Fri, Dec 12, 2008 at 03:09:11PM +0900, manish_iitg wrote:
>
> Hello,
>
> Can anyone explain what is the default thread model followed by netty, when
> creating a server on netty. How does netty server handle multiple request
> simulatanious. I am trying to build a thread based application, and could
> find any help on the documentation.
>
> Thanks
--
Trustin Lee, Principal Software Engineer, JBoss, a division of Red Hat
--
what we call human nature in actuality is human habit
--
http://gleamynode.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/netty-users/attachments/20081217/cd866f57/attachment.bin
More information about the netty-users
mailing list