You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Scott O'Bryan (JIRA)" <de...@myfaces.apache.org> on 2013/11/14 23:07:21 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 ]

Scott O'Bryan updated TRINIDAD-2324:
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.0-core
         Assignee: Jeanne Waldman
           Status: Resolved  (was: Patch Available)

r1394279 | jwaldman | 2012-10-04 21:36:15 +0000 | 3 lines
Changed paths:
   M /myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/share/util/MultipartFormHandler.java

TRINIDAD-2324 File uploads are very slow
using BufferedInputStream and some changes in _readline (make variable final).
Thanks to Kentaro Kinebuchi for the patch


> 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
>            Assignee: Jeanne Waldman
>             Fix For: 2.1.0-core
>
>         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 was sent by Atlassian JIRA
(v6.1#6144)