[getdns-api] async comments (0.268)

Phillip Hallam-Baker hallam at gmail.com
Tue Feb 12 14:19:53 MST 2013


On Tue, Feb 12, 2013 at 1:12 PM, Joe Hildebrand (jhildebr) <
jhildebr at cisco.com> wrote:

> On 2/5/13 8:05 AM, "Phillip Hallam-Baker" <hallam at gmail.com> wrote:
>
> >The one part of DNS lookup that I think departs from this model is the
> >fact that it is often desirable to throw out multiple DNS queries at the
> >same time.
>
> Yes, that's the reason for the whole thing.  If I have to have a thread
> blocked for every outstanding DNS request, there are a bunch of my
> applications that do not scale adequately, both client- and server-side.
>

So do we give that particular developer a callback mechanism they can use
to throw out multiple queries at once or a convenience function that does
the multiple queries for them?

Some people are definitely going to want to muck about with threads. But I
think most will be happier with a convenience call that hides that from
them.



-- 
Website: http://hallambaker.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vpnc.org/pipermail/getdns-api/attachments/20130212/c60075a9/attachment.html>


More information about the getdns-api mailing list