curl-library
Re: maximizing performance when issuing a large number of GET/PUT requests to a single server
Date: Thu, 11 Aug 2011 14:01:39 -0700
On Thu, Aug 11, 2011 at 1:14 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Thu, 11 Aug 2011, Alex Loukissas wrote:
>
>> Is there a benefit over what I'm doing now (i.e. looping through the URIs
>> and issuing a curl_easy_perform) versus having a number of handles in a
>> curl_multi_handle? From what I understand, the multi interface is doing the
>> same thing (i.e. serially doing a curl_easy_perform for each handle).
>
> The multi interface does all the transfers you add to it in parallell.
So does it do it in a multi-threaded fashion (probably not, since I
didn't have to compile/link against a threading library)? I was under
the impression that that's not the case. Or by parallel you mean it
opens simultaneous ports and interleaves them?
>
> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-08-11