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 "ASF GitHub Bot (Jira)" <se...@james.apache.org> on 2021/02/15 01:46:00 UTC

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

    [ https://issues.apache.org/jira/browse/JAMES-2343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17284528#comment-17284528 ] 

ASF GitHub Bot commented on JAMES-2343:
---------------------------------------

chibenwa commented on pull request #211:
URL: https://github.com/apache/james-project/pull/211#issuecomment-778888777


   Shall I take time rebase this work, or can I just discard it?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> 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
>            Priority: Major
>          Time Spent: 4h 10m
>  Remaining Estimate: 0h
>
> 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
(v8.3.4#803005)

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