You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Kentaro Kinebuchi (JIRA)" <de...@myfaces.apache.org> on 2012/10/02 00:59:07 UTC

[jira] [Updated] (TRINIDAD-2324) File uploads are very slow

     [ https://issues.apache.org/jira/browse/TRINIDAD-2324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kentaro Kinebuchi updated TRINIDAD-2324:
----------------------------------------

    Status: Patch Available  (was: Open)
    
> 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
>         Attachments: TRINIDAD-2324.patch
>
>
> 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