develooper Front page | perl.perl5.porters | Postings from October 2015

[perl #126224] IO::Socket::INET performance PROBLEMS!

Thread Previous | Thread Next
Thomas Sibley via RT
October 6, 2015 05:45
[perl #126224] IO::Socket::INET performance PROBLEMS!
Message ID:
On Thu Oct 01 00:12:26 2015, wrote:
> * Konstantin Kokin ( [151001 03:24]:
> > I'm working with networking on BSD and Linux more than 15 year and I
> > really
> > do understand the meaning of DNS
> LeoNerd is experienced as well.
> I have seen cases where you really do not expect DNS to come into
> play, but it still did.  To get a reverse name-lookup, for instance.  Only
> if you log your DNS server, you may find out.

Indeed, every call to $c->get_request() calls $d->url, which calls gethostbyaddr() in
the case of your usage of LocalAddr:

strace is also a good tool for finding DNS queries where you don't expect it.


via perlbug:  queue: perl5 status: open

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About