Ive created a new Branch with the new Message Chunking code rolled in to Tim's new
Remoting code.
http://anonsvn.jboss.org/repos/messaging/branches/Branch_Message_Chunking....
If you look at RemotingConnectionImpl/RemotingHandlerImpl you'll see a new class
PacketAssembler. Basically this assembles/disassembles the packets into smaller buffers.
Each buffer is written to the session in the normal fashion.
There are 2 new configuration attributes 'remoting-initial-packet-fragment-size',
which is the size to make the initial packet sent and
'remoting-packet-fragment-size' for any subsequent packets. setting the latter to
0 will also revert back to using 1 buffer.
There has been a drop in our performance figures because of this, so I'm currently
investigating this. I know for large messages that encoding is actually quicker, i think
because we don't need to auto expand buffers, but i havent got as far as checking the
decoding.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167816#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...