[mythtv] [mythtv-commits] mythtv commit: r25180 by beirdo
stuarta at squashedfrog.net
Wed Jun 30 16:59:50 UTC 2010
On 28/06/2010 05:43, mythtv at cvs.mythtv.org wrote:
> Author: beirdo
> Date: 2010-06-28 04:43:46 +0000 (Mon, 28 Jun 2010)
> New Revision: 25180
> Changeset: http://svn.mythtv.org/trac/changeset/25180
> Added a timeout to the icon grabbing for the icon importer.
> Every one of the icon files we grab gives us a 301 Permanent Redirect, which we
> then follow. The problem is, we look up the DNS for every single request each
> time we do a request, and have no local caching. This causes slowness if the
> configured DNS server is slow.
> The best way to fix this is two-fold:
> 1) use faster resolvers (126.96.36.199 and 188.8.131.52 should work if nothing else -
> google's public resolvers)
> 2) do local caching within the application to reduce the DNS lookups
It is not up to the application to decide what resolvers to use,
nor really is it up to the application to cache DNS requests.
That is what the OS does for us.
#1 - I completely disagree with and object to.
#2 - I'm not keen on.
More information about the mythtv-dev