[jbosscache-dev] Re: Non Blocking State Transfer Status (& Integration with JGroups)
Manik Surtani
manik at jboss.org
Fri Jan 9 11:42:42 EST 2009
On 6 Jan 2009, at 22:05, Brian Stansberry wrote:
>
> BTW, is a *JGroups* streaming API necessary here? The old AS Farm
> service passed arbitrary sized files by sending byte[] chunks via
> RpcDispatcher calls. Worked fine. That's not quite what JBC would
> need, since FarmService read a chunk from a FileInputStream and
> passed it to JGroups; you'd want an OutputStream impl that would
> pass a chunk to JGroups when it's internal buffer reached size X.
This could be done but this would involve excessive copying of
buffers. The whole purpose behind the JGroups streaming JIRA is to
optimise away such unnecessary buffer copying between layers.
--
Manik Surtani
Lead, JBoss Cache
http://www.jbosscache.org
manik at jboss.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jbosscache-dev/attachments/20090109/20501ad1/attachment.html
More information about the jbosscache-dev
mailing list