cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Performance issue with libcurl library for SFTP upload

From: Gary Maxwell <gmaxwell_at_broadsoft.com>
Date: Wed, 15 Jun 2011 00:26:09 -0700

> From: Srikanth Ramaprasad08
> Sent: Tuesday, June 14, 2011 23:28
> Subject: Performance issue with libcurl library for SFTP upload

> I am using libcurl library in our C++ code (IDE: Microsoft
> Visual Studio 2008) for uploading files to an SFTP server.
> Below you can find the time taken for upload of a few files.

> ...

> As you can see the time taken for upload is very high.

"High" is a subjective term. Depending on the environment,
250KBytes/second may be reasonable.

> Is there any way to reduce the time taken to upload to SFTP
> or is this the normal time taken ?
> How can I improve the performance ?

Unfortunately, you provide very little information for the list
to consider, only that you are using VS2008 and SFTP. I would
suggest performing some more investigations on your part:
  - What libcurl version are you using? Did you build it yourself?
  - What SSL library are you using? What version?
  - Have you analyzed the network packets to determine the duration
of each phase of the transaction? Where is the time being spent?
  - How does the performance of your application compare to
the same SFTP transaction using a different client?
  - Finally, if it still looks like a libcurl problem, please
let us know with as much information as possible.

> Please get back to me ASAP.

This is not the type of request that volunteers for an open
source project like to see. We have real lives and jobs, too.

Cheers,
GaryM @ Broadsoft

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-06-15