cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: c-ares and effect on resolve times

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 30 Jun 2010 15:55:43 +0200 (CEST)

On Tue, 29 Jun 2010, Pieter Ennes wrote:

> What would be the effect of using c-ares w.r.t. resolve performance when
> considering the resolves for a typical webpage load (incl. embedded assets)?

I don't know. But it should be easy enough for you to measure this!

> Does c-ares by-pass the OS entirely?

Yes. c-ares does its own name resolving and uses no OS functions made for that
purpose.

> And finally, does curl do normal gethostbynames when c-ares is disabled?

Yes: http://curl.haxx.se/docs/faq.html#How_does_libcurl_resolve_host_na

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-06-30