cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: 5 uploads per second

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Mon, 6 Oct 2003 22:49:34 -0700

On Tue, Oct 07, 2003 at 12:13:11AM +0200, Daniel Stenberg wrote:
> 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!

The original message showed a cwd being done on every file as well. I would
think the current directory could be maintained along with the other state
information for a connection, couldn't it?

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-10-07