Hi,
I'm using Tomcat 5.5.15 to transfer files. I get a throughput of roughly 20%
on 100Mbps LAN whereas the download throughput is 95% approx.
How can I make the uploads faster ?
Thanks,
Aman.
--
View this message in context:
http://www.nabble.com/file-upload-speed.-t1816944.html#a4953136
Sent f
Antonio,
I've done other experiments (without tomcat) where the upload speed is
better. There are no throughput constraints in the network/server
configuration. Unless it's internally imposed by tomcat webserver.
Are there any such constraints in tomcat ? is this throughput difference
deliberate
FYI-
I've been using the curl command line client for the uploads and downloads.
When I tried the commons HttpClient from a java program, the upload/download
throughputs matched !! (at over 85% ).
regards,
Aman.
--
View this message in context:
http://www.nabble.com/file-upload-speed.-t181694
Leon Rosenberg-3 wrote:
>
> I ment rather how do you handle the upload in tomcat?
>
I have written any custom "upload handlers". I just give the appropriate url
to the "put client" and it's done.
--
View this message in context:
http://www.nabble.com/file-upload-speed.-t1816944.html#a497432
Leon Rosenberg-3 wrote:
>
> I ment rather how do you handle the upload in tomcat?
>
I have not written any custom "upload handlers" on the web server side. I
just give the appropriate url to the "put client" and it's done.
--
View this message in context:
http://www.nabble.com/file-upload-s
Leon Rosenberg-3 wrote:
>
> sorry, maybe i'm misunderstand a whole bunch of things here, but what
> exactly is your "appropriate url"?
>
> I mean, you can test download speed by accessing your own servlet or
> even static content, ok, but you can't upload anything without having
> a receiver fo
Leon Rosenberg-3 wrote:
>
> So you effectively measure the ability of tomcat to throw away your
> bytes and send you an error page. That doesn't make really sense, does
> it?
>
> Leon
>
Of course not. The uploaded file is visible on the webpage in the new
directory where it's supposed to be.
Leon Rosenberg-3 wrote:
>
> oh... then its magic...
>
> ok i've tried it:
>
> [EMAIL PROTECTED]:~$ curl -T xxx.txt http://localhost:8000/xxx/
> Apache Tomcat/5.5.16 - Error
> report