"clebert.suconic(a)jboss.com" wrote : This is the status of my current work on
MessageChunk and LargeMessages.
|
| It is committed on
https://svn.jboss.org/repos/messaging/branches/Branch_Chunk_CRS2/
waiting revision before we add it to trunk. Branch_Chunk_CRS2 was just created today
(r5188)
|
|
| I - I have added a method getPacketSize on the Packet interface. The abstract class is
still returning (at this point at least) the DefaultPacketSize, but MessageSend, Chunk and
Receive are calculating the packetSize accordingly.
| With that the InVM transport will also work for big messages, and we can avoid extra
unecessary buffer creations.
|
What does "packetSize" represent?
* As soon as we merge it on trunk, we could have all the packets implementing this. But
this is not a really high priority.
anonymous wrote :
| II - I have added a new interface called ServerLargeMessage which will be implemented
by each storage-manager we have. We have JournalServerLargeMessageImpl and
NullStorageManager. The StorageManager will be responsible for the instantiation of this
class.
|
Confusing name. The journal is a large message?
anonymous wrote :
| III - I have separated the reference counting of references and durable references on
Messages (that fix on paging discussed on this thread:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=144128)
|
| As soon as we remove the reference from the queue (ACKs) I decrement the refCount. I
use that ref to delete large messages stored on files.
|
How is this different to how it was before?
anonymous wrote :
| IV - Paging could page largeMessages also. (On that case I don't take the bodySize
in consideration, as that will be stored outside of the memory).
|
| V - The ChunkSize is configured on the ConnectionFactory, and the default is 100k
|
For everyone's benefit could you explain what chunkSize represents, and how it differs
(or not) from minLargeMessageSize?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4185019#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...