myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kentaro Kinebuchi (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Created] (TRINIDAD-2324) File uploads are very slow
Date Mon, 01 Oct 2012 22:55:07 GMT
Kentaro Kinebuchi created TRINIDAD-2324:
-------------------------------------------

             Summary: File uploads are very slow
                 Key: TRINIDAD-2324
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2324
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Components
    Affects Versions: 2.0.2-core
            Reporter: Kentaro Kinebuchi


File uploads using the Trinidad File Upload Framework are very slow with uploads typically
taking several minutes for files on the order of 100MB. It is substantially slower than FTPing
an equivalent file.
After profiling the application, most of the sloweness is from inefficiencies in MultipartFormHandler.java.
After making a few changes to the method _readline() and also using a BufferedInputStream,
the performance was doubled.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message