Re: About that host name resolution slowness
Re: About that host name resolution slowness
- Subject: Re: About that host name resolution slowness
- From: Joshua Graessley <email@hidden>
- Date: Wed, 2 Jun 2004 09:09:16 -0700
If you're going to start bypassing the resolver, the next lower layer
would probably be res_query. You will have to parse the DNS response
yourself.
-josh
On Jun 2, 2004, at 8:46 AM, Stephane Sudre wrote:
>
Stupid question: has something be made (new API, mechanism, etc...) in
>
Panther to improve the speed and thread safety of gethostbyname()?
>
>
I'm currently trying to play with a lot of DNS queries and I have
>
currently followed this path:
>
>
1) NSHost: so slow for the test I'm doing that I may be retired when
>
the test ends.
>
>
2) gethostbyname(): faster, but it still blocks (I'm not against
>
blocking, I'm against "long" blocking) as stated in various locations
>
and is still too slow IMHO.
>
>
3) My next step being to have a look at the source of "host" or "dig"
>
to find which API is used.
>
_______________________________________________
>
macnetworkprog mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
>
Do not post admin requests to the list. They will be ignored.
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.