commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 22578] New: - file upload can be very slow
Date Wed, 20 Aug 2003 09:31:52 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22578>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22578

file upload can be very slow

           Summary: file upload can be very slow
           Product: Commons
           Version: 1.0 Beta 2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: File Upload
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: rwg@soton.ac.uk


very slow file uploads - massive performance boost by increasing 4096 to 
something much bigger eg * 100 or * 1000

Problem only occurs in some network locations - and only effects file upload - 
not other network operations.

FIX:

public class MultipartStream

    protected static final int DEFAULT_BUFSIZE = 4096;

This fix need not be done as the problem isn't common - but the information on 
what to do might help someone else !

Mime
View raw message