Netty and Protocol Buffers.
Marco Villalobos
mvillalobos at supplyframe.com
Wed Jun 15 17:55:41 EDT 2011
I have a question on proper use of netty with protocol buffers.
I made extensive use of the LocalTime example in the documentation.
And I have some questions about best practices.
Let's say that there is a multithreaded application called X in which many
threads needs to make client calls to the netty server.
And we are using protocol buffers nio with netty.
FIRST QUESTION
In application X, how many clients should it use?
a) ONE client
b) A pool of clients?
SECOND QUESTION
In the example,
http://docs.jboss.org/netty/3.2/xref/org/jboss/netty/example/localtime/LocalTimeClientHandler.html
Would this be an inefficient implementation of a handler considering that it
will block at line 71 ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/netty-users/attachments/20110615/bc7266e1/attachment.html
More information about the netty-users
mailing list