[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Message Chunking Performance problems

ataylor do-not-reply at jboss.com
Tue Aug 26 10:18:19 EDT 2008


anonymous wrote : We can aways calculate how many bytes we need to send any of our packets. On ClientMessages, we just get the getEncodeSize(), and add a few bytes
You're right to a certain degree, however different transport implementations may write some objects to their internal buffers slightly differently, i.e strings, utf etc. but yes we could make an educated guess as to the size of buffer we need.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4172597#4172597

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4172597



More information about the jboss-dev-forums mailing list