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: [email protected]
For additional commands, e-mail: [email protected]