Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-2343

Use buffered file output stream for MimeMessageInputStreamSource

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • James Core
    • None

    Description

      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).

      Attachments

        Activity

          People

            Unassigned Unassigned
            chikei TzeKai Lee
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 4h 40m
                4h 40m