curl-library
Re: 5 uploads per second
Date: Mon, 06 Oct 2003 17:57:30 +0200
Hi
Before I start:
Best wishes to you Daniel and to your family.
Enjoy your new life. My little daughter Sina is 16 weeks young,
so I prefer to screen through the mailing list between 1am and 5am ;-)
Switching to curl ....
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.
Otherwise I need to bundle my files.
Thanks
Peter
-->Transfer file 1:
* About to connect() to 192.122.62.15:21
* Connected to 192.122.62.15 ((nil)) port 21
> USER guest
> PASS guest1
* We have successfully logged in
> PWD
* Entry path is '/home/guest'
> EPSV
> PASV
* About to connect() to 192.122.62.15:32875
* Connecting to 192.122.62.15 ((nil)) port 32875
* Connected the data stream with PASV!
> TYPE I
> STOR JC0003090513563500001
* Connection #0 left intact
-->Transfer file 2, reusing the same handle
* Re-using existing connection! (#0)
* Connected to [re-used] ((nil)) port 21
> CWD /home/guest
> EPSV
> PASV
* About to connect() to 192.122.62.15:32876
* Connecting to 192.122.62.15 ((nil)) port 32876
* Connected the data stream with PASV!
> TYPE I
> STOR JC0003090513563500002
* Connection #0 left intact
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-10-06