You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by Jeff Chan <je...@surbl.org> on 2004/08/18 09:55:13 UTC
Net::DNS performance?
Daniel, Theo and Justin were carping about the slowness of
Net::DNS over lunch during the CEAS conference earlier this
month. I happened to notice the following on a Net::DNS
documentation site:
http://search.cpan.org/~bbb/Net-DNS-0.19/lib/Net/DNS.pm
> BUGS
>
> Net::DNS is slow. Real slow.
Perhaps SA could use compiled versions of resolver code instead
of Net::DNS and gain some speed.... OTOH I think they mentioned
that someone benchmarked DNS performance already and didn't find
it a major factor. "slow. Real slow." never sounds like a
great recommendation to me though. :-)
Jeff C.
Re: Net::DNS performance?
Posted by Daniel Quinlan <qu...@pathname.com>.
If you check the Net::DNS mailing list archive, I made some postings
some months ago about the changes that would be required for improved
SpamAssassin performance. The main one (if I recall correctly) is
reusable background sockets/objects. The main performance drag is
there.
Daniel
--
Daniel Quinlan
http://www.pathname.com/~quinlan/
Re: Net::DNS performance?
Posted by "Malte S. Stretz" <ms...@gmx.net>.
On Wednesday 18 August 2004 09:55 CET Jeff Chan wrote:
>[...]
> Perhaps SA could use compiled versions of resolver code instead
> of Net::DNS and gain some speed.... OTOH I think they mentioned
> that someone benchmarked DNS performance already and didn't find
> it a major factor. "slow. Real slow." never sounds like a
> great recommendation to me though. :-)
Heh. If that's really a problem, one should go and fix Net::DNS so
everybody out there benefits from it :)
/me ducks and hides behind his electro-technis book, hoping he'll pass the
exam tomorrow...
Cheers,
Malte
--
[SGT] Simon G. Tatham: "How to Report Bugs Effectively"
<http://www.chiark.greenend.org.uk/~sgtatham/bugs.html>
[ESR] Eric S. Raymond: "How To Ask Questions The Smart Way"
<http://www.catb.org/~esr/faqs/smart-questions.html>
Re: Net::DNS performance?
Posted by Theo Van Dinter <fe...@kluge.net>.
On Wed, Aug 18, 2004 at 10:53:34AM +0100, Tony Finch wrote:
> SA needs a resolver that allows queries to be performed in the background.
Net::DNS does that. In SA, we shoot out the queries at the start
of the check, and then pick them up when the other rules have finished.
--
Randomly Generated Tagline:
IMAGINE! I was accused of being an ADULT the other day!
Re: Net::DNS performance?
Posted by Tony Finch <do...@dotat.at>.
On Wed, 18 Aug 2004, Jeff Chan wrote:
>
> Perhaps SA could use compiled versions of resolver code instead
> of Net::DNS and gain some speed....
SA needs a resolver that allows queries to be performed in the background.
I think the only plausible alternative to Net::DNS is adns, but I never
finished writing the perl bindings for it.
Tony.
--
f.a.n.finch <do...@dotat.at> http://dotat.at/
BERWICK ON TWEED TO WHITBY: WEST OR SOUTHWEST 2 OR 3 INCREASING 3 OR 4. FAIR.
GOOD. SLIGHT OR SMOOTH.