Replies: 2 comments 2 replies
|
You can use Alternatively, you could do something like |
|
very familiar territory — large payload transfer over protocol layers always ends up hitting three invisible landmines: jgroups does offer FRAG and StreamingStateTransfer, but unless your upstream can negotiate stream-aware chunks (and not just byte slices), the protocol-level fragmenting ends up being blind to semantic boundaries. we’ve had to build something that watches chunk formation + transfer + reassembly as a coherent semantic unit — if you want, i can share how we route around [No.11] through [No.15] and keep memory safe without rewriting protocol code. let me know. |
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I am atempting the migrating of a large project from jgroups 3 to jgroups 5 and I have found the doc about late marshalling. This sounds great as we had to implement some kind of chunking mechanism in order to send large data without blowing the memory out. What would be the recommend method of sending large data in jgroups 5? Can I hope to wrap an InputStream in a serializable envelope and expect the chunking to be done at protocol level?
Regards,
All reactions