Fritz & any other modules gurus:

Here is the response for the trouble ticket I recently opened regarding
the Net-DNS performance issues.  Is there anything here that can be
worked with?

On 11/17/06, Olaf M. Kolkman via RT <[EMAIL PROTECTED]> wrote:
>
> <URL: http://rt.cpan.org/Ticket/Display.html?id=23437 >
>
> Hmm there is very little info to actually work from.
>
>
> So there is a particular change that could have triggered this, from
> CHANGES:
>
>      Net::DNS::Resolver now deals gracefully with persistent sockets
>      that got disconnected. It will first try to connect again to the
>      socket and if that fails it will try to connect to the next
>      available nameserver. tcp_timeout() is the parameter that
>      determines how long to wait during a reconnect.
>
>
> You may want to play with that parameter (using  $res->tcp_timeout
> (1)) to see if performance improves. If it does then my advice would
> be to not use TCP but use persistent UDP in your code.
>
> The other change that, I suppose, is not related to this is:
>
>     Hanno Stock optimized the method to get the list of available
>     interfaces in Win32.  I have only done very rudimentary tests on
>     my Windows XP system.
>
> On the other hand this is the only win32 dependent change.
>
> You could test if replacing lib/Net/DNS/Resolver/Win32.pm in the 0.59
> version by the version from 0.57.
> (You can find that one here:
> http://www.net-dns.org/svn/net-dns/release/0.57/lib/Net/DNS/Resolver/
> Win32.pm
> )
>
>
> If this test causes an improvement I know where to look (That module
> contains mostly contributed code, so it is a challenge to get to the
> bottom of this.)
>
>
>
>
> --Olaf


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to