I've been thinking about this specific issue for a while now for a
project I've got coming down the pipe-line.

I'll try to add support for writeFile to IoSession in MINA trunk per
DIRMINA-218.  I should have time this weekend to work on it.

-Mike

On Wed, 2007-07-11 at 18:56 -0700, Geoff Cadien wrote:
> On 7/11/07, Trustin Lee <[EMAIL PROTECTED]> wrote:
> >
> > Hi Geoff,
> >
> > Meanwhile, you could try StreamWriteFilter
> > (
> > http://mina.apache.org/report/1.0/apidocs/org/apache/mina/filter/StreamWriteFilter.html
> > ).
> >
> >
> I think StreamWriteFilter would work, but it still doesn't give you the
> advantage of zero-copy like you do with FileChannel.transferTo.  In my tests
> on Linux is transferTo much faster than write, especially for large files.
> 
> -geoff

Reply via email to