[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Added Netty transport to the trunk
clebert.suconic@jboss.com
do-not-reply at jboss.com
Tue Aug 19 19:54:02 EDT 2008
I have once played with changing how the buffers are created on JBM 2, and I'm sure we don't need auto-expanding buffers.
When we send a message, we could verify the getEncodeSize(), and pre-allocate the buffers at the exact size necessary to send them. It shouldn't be too difficult of doing that.
So, if you (Trustin) are having issues with the auto-expanding buffer, I'm pretty sure we can get rid of that. (At least on sending.. I'm not sure how the buffers are created on reading).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171387#4171387
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171387
More information about the jboss-dev-forums
mailing list