cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Bad Performance When Uploading Large Data With Libcurl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 10 Mar 2014 18:14:53 +0100 (CET)

On Mon, 10 Mar 2014, The General wrote:

> We have an application written in C, running on both Windows and Linux,
> which uses libcurl's easy interface to interact with an Apache server via an
> HTTP API over the internet.

Which libcurl version are you using?

> More precisely If we take the data being sent as a single text file,
> compress it using deflate and FTP the resulting 125MB file with FileZilla,
> it takes about 2 minutes (8Mb/s).

... and what if you upload it with FTP using curl?

> We're looking for suggestions to improve performance,

Are you using a proxy? Are you using HTTPS? Have you verified that the
connection is correctly re-used on subsequent requests?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-03-10