Another low hanging fruit
MessagingImpl::decode will aways change the size of the
buffer, making the Message to be bigger than it needs to be
when serializing or transporting:
MessageImpl::decode
| {
|
| ...
| byte[] bytes = new byte[len];
| buffer.getBytes(bytes);
| body = new BufferWrapper(1024); // this should be
len
| body.putBytes(bytes);
|
| ...
| }
Another point also... Making ClientProducerIimpl to use
nonBlocking on transacted sends, made those to be much
slower on my computer. It is taking about 200 msgs/second
against 2000 as it used to be when sending blocking.
View the original post : http://www.jboss.com/index.html?
module=bb&op=viewtopic&p=4150904#4150904
Reply to the post : http://www.jboss.com/index.
html?module=bb&op=posting&mode=reply&p=4150904
a>
_______________________________________________
jboss-dev-forums mailing list
jboss-dev-forums lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-dev-foru
ms
|