cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: help: libCURL with epoll

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 17 Nov 2011 23:40:02 +0100 (CET)

On Thu, 17 Nov 2011, Kopparapu, Sangeeta (GE Healthcare, consultant) wrote:

>>> 10 threads, the performance is 1.75 seconds.
>
>> That seems a bit weird to me. What resolver backend are you using for
>> example?

> In the case of libCURL multi interface, its epoll. In the case of libCURL
> easy interface with 10 threads, its poll method.

I meant which resolver backend your libcurl build is using.

libcurl can be built to use several different resolver backends, and on *nix
the default resolver is using synchronous name resolving and in such
environments a threaded application using libcurl will of course be faster
than a multi interface using one.

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