struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sgarlata Matt" <sgarlata_m...@bah.com>
Subject Re: Slow file upload?
Date Tue, 16 Sep 2003 13:23:15 GMT
Unfortunately I'm not going to have time to set up this experiment for a few
weeks because the app I am currently working on does not require file upload
capabilities.  I'll do a test in a few weeks and post the results to
struts-user.

I'm guessing from your response that the costs of encoding/decoding the file
so it can be sent over HTTP/MIME is much larger than one would suppose and
that this time is greater than the time it takes to send the file over a
large connection.

Thanks,

Matt
----- Original Message ----- 
From: "Robert Leland" <rleland@apache.org>
To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
Sent: Monday, September 15, 2003 10:40 PM
Subject: Re: Slow file upload?


Sgarlata Matt wrote:

>Rob, why is it faster to upload all on one machine instead of going across
a
>LAN?  It seems to me uploading on the same machine should be as fast as a
>file copy.  What am I missing?
>
>
Try a experiment. Try a fileupload on a single CPU computer, hosting
your web app.
Then try it again for 2 machines connected by the same local LAN, one
running the browser, one the web app.
Monitor fileupload time, % free CPU, virtual memory/paging usage, etc.
Report back the results.



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message