I have a question on proper use of netty with protocol buffers.<div>I made extensive use of the LocalTime example in the documentation.</div><div><br></div><div>And I have some questions about best practices.</div><div><br>
</div><div>Let's say that there is a multithreaded application called X in which many threads needs to make client calls to the netty server.</div><div><br></div><div>And we are using protocol buffers nio with netty.</div>
<div><br></div><div>FIRST QUESTION</div><div><br></div><div>In application X, how many clients should it use?</div><div><br></div><div>a) ONE client</div><div>b) A pool of clients?</div><div><br></div><div>SECOND QUESTION</div>
<div><br></div><div>In the example, </div><div><br></div><div><a href="http://docs.jboss.org/netty/3.2/xref/org/jboss/netty/example/localtime/LocalTimeClientHandler.html">http://docs.jboss.org/netty/3.2/xref/org/jboss/netty/example/localtime/LocalTimeClientHandler.html</a></div>
<div><br></div><div>Would this be an inefficient implementation of a handler considering that it will block at line 71 ?</div><div><br></div><div><br></div><div><br></div><div><div><br></div><div><br></div></div>