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

On 6/22/06, CMSuser <[EMAIL PROTECTED]> wrote:


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 for it.
>
> leon
>
I'm very new to this "web" stuff. What I did to get started was installed
the Tomcat 5.5.15 and copied one of the sub folders in webapps folder and
named it "abc".
in the web.xml in the conf folder , set the readonly to false.
after that I just did a "put" from the client.

eg. curl -T "file.txt" http://191.168.1.1:8080/abc/ . (This was what gave
low throughput).
or with my java client, it's :
PutMethod pm = new PutMethod(url + "filename");
.....
then I use HttpClient to executed the above putmethod. (this give's good
throughput ).
My guess is that the curl client itself was the bottleneck previously.
However the same curl client gave better upload speeds with other
webservers(Apache), so it's confusing.

regards,
Aman.



--
View this message in context: 
http://www.nabble.com/file-upload-speed.-t1816944.html#a4987102
Sent from the Tomcat - User forum at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to