Re: "reasonable" bulk resolver behavior

This is a discussion on Re: "reasonable" bulk resolver behavior within the Bind Users forums, part of the DNS and Related Forums category; Barry Margolin: > It depends on how powerful and busy the nameserver you're querying is. > If you're ...


Go Back   Usenet Forums > DNS and Related Forums > Bind Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-13-2005
Steve Friedl
 
Posts: n/a
Default Re: "reasonable" bulk resolver behavior

Barry Margolin:
> It depends on how powerful and busy the nameserver you're querying is.
> If you're running your own nameserver and it doesn't have lots of other
> clients, you may be able to go full out; if you're querying your ISP's
> nameserver, you'll probably have to throttle down quite a bit.


In my particular case, I control the nameserver (it's on localhost), but
I wish to release this as a generic tool, and in order to be responsible
I need to set some kind of default value that the "Joe Users" get (all
five of them, probably) when they install the software without thinking
about it. If I pick too few, it's no better than synchronous resolving.
If too many, then I'm a resource hog.

My inclination is "40 or so".

Paul Vixie wrote:
> altavista routinely ran "manyhosts" with 1000 concurrent threads and five
> recursive nameservers (all of which were just virtual BIND8's on the same
> host, at 127.0.0.2, 127.0.0.3, and so on), and never received complaints.


Well, I think I'm unlikely to hit 1k threads/requests :-)

> for the record, i still think that using a thread-safe resolver like IRS
> (which is contained in bind8 and bind9's "libbind") and pthreads is the
> right way to go, compared to ADNS. though i'd still like to do something
> that ran natively on top of bind8's "eventlib" someday.


Is this out of personal preference, or some deeper technical reason?

I generally avoid pthreads because it's just not portable enough: I can
make singlethreaded select() do nearly anything - for DNS or whatever -
including on Win32 where I have some modest involvement [see "MVP" below].

Paul, Barry: thank you for your input.

Steve

---
Stephen J Friedl | Security Consultant | UNIX Wizard | +1 714 544-6561
www.unixwiz.net | Tustin, Calif. USA | Microsoft MVP | steve@unixwiz.net


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:48 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0