cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: 5 uploads per second

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 7 Oct 2003 00:13:11 +0200 (CEST)

On Mon, 6 Oct 2003, Peter Stirzel wrote:

> I gathered some more information in order to find an easy way to increase
> the number of uploads per second.
>
> I am using the same easy handle for all transfers. See below the
> CURLOPT_VERBOSE output. What I have learned is that for every upload the cwd
> command is performed and a new data connection port is opened. This takes
> app. 200ms for each upload and I wonder if there is a possibility to prevent
> this.

Ugh. 200ms is quite some time, so there's the latency explained then.

Unfortunately, the second TCP connection is required as that's simply the way
FTP works. There's nothing we can do to work around that!

-- 
 Daniel Stenberg -- curl: been grokking URLs since 1998
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-10-07