cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: HTTP PUT performance issues

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 4 Dec 2002 20:27:49 +0100 (MET)

On Wed, 4 Dec 2002, Rick Jones wrote:

> Perhaps the TCP window sizes are not the same in the FTP and HTTP PUT
> cases? Even for localhost that might have an effect on the transfer speed.
> Similarly, the size of the buffers used for send or recv will have an
> effect on localhost transfers by altering the CPU utilization.

Well, curl never messes with options like that so I can't see how they would
be different. Also, the send buffer is the exact same here in both cases.

In fact, *very* little differs between a HTTP PUT and a FTP STOR once the
data has started getting sent. Both ways is just a binary stream of data
being sent off as soon as the socket returns as writable from the select()
call.

RBramante, can you see the same effect that FTP upload performs "full speed"
?

Personally, I don't have any other tool that does HTTP PUT to compare speeds
with so I can't tell if it's just my server that is slow at receiving PUT.

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This SF.net email is sponsored by: Microsoft Visual Studio.NET 
comprehensive development tool, built to increase your 
productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
Received on 2002-12-04