You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "TzeKai Lee (JIRA)" <se...@james.apache.org> on 2018/02/24 10:19:00 UTC

[jira] [Created] (JAMES-2343) Use buffered file output stream for MimeMessageInputStreamSource

TzeKai Lee created JAMES-2343:
---------------------------------

             Summary: Use buffered file output stream for MimeMessageInputStreamSource
                 Key: JAMES-2343
                 URL: https://issues.apache.org/jira/browse/JAMES-2343
             Project: James Server
          Issue Type: Improvement
          Components: James Core
            Reporter: TzeKai Lee


Currently MimeMessageInputStreamSource use DeferredFileOutputStream from commons-io which does _not_ buffer output stream when switched to FileOutputStream. In my preliminary test, simply wrap FileOutputStream with BufferedOutputStream could make a 50% performance improvement for mail larger than deferring threshold (currently 100kb).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org