mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geoff Cadien" <ge...@thecadiens.org>
Subject Re: Writing Large Files
Date Thu, 12 Jul 2007 01:56:46 GMT
On 7/11/07, Trustin Lee <trustin@gmail.com> 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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message