CPython thread starvation

Danyel Lawson danyellawson at gmail.com
Sat Apr 28 10:27:27 EDT 2012


I'm glad I thought of it. ;) But the trick is to use port 5353 and set
a really short timeout on responses in the config for the DNS cache.

On Sat, Apr 28, 2012 at 10:15 AM, Chris Angelico <rosuav at gmail.com> wrote:
> On Sat, Apr 28, 2012 at 11:46 PM, Danyel Lawson <danyellawson at gmail.com> wrote:
>> The DNS lookup is one of those things that may make sense to run as a
>> separate daemon process that listens on a socket.
>
> Yeah, it does. One that listens on port 53, TCP and UDP, perhaps. :)
>
> You've just recommended installing a separate caching resolver.
>
> ChrisA
> --
> http://mail.python.org/mailman/listinfo/python-list



More information about the Python-list mailing list