[ https://issues.apache.org/jira/browse/JAMES-2343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16464309#comment-16464309 ]
ASF GitHub Bot commented on JAMES-2343: --------------------------------------- Github user chikei commented on the issue: https://github.com/apache/james-project/pull/105 I use mail queue factory like this [NoopQueueFactory](https://gist.github.com/chikei/f35a5000a41a000a3e34fc1692f7aab7) (I actually use scala and manual wiring when doing benchmarks so I don't have guice code). Running and timing each test with `smtp-source` from Postfix: `time smtp-source -l <size> -m 10000 -s 100 <james server ip>` > 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 > > 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-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org