Interesting thing with DNS requests
Maksim Orlovich
mo85 at cornell.edu
Fri Dec 8 15:28:06 GMT 2006
> Stephan Kulow wrote:
>>Am Donnerstag, 7. Dezember 2006 18:51 schrieb Thiago Macieira:
>>> If the server doesn't support connection keep-alive, you should fix
>>> it.
>>
>>Isn't fixing the web _and_ your DNS servers asked a bit too much?
>>
>>What is so problematic about implementing a DNS cache within KDE
>>if it turns out to be a problem for soo many people setting up one
>> correctly?
>
> Like I said, this was a very corner case: a webpage with 180 items on it,
> coupled with the absence of connection keep-alive, multiple webservers
> (including ads and that kind of stuff) and a slow DNS server.
>
> No wonder it was slow.
There are bug reports about this kind of stuff...
>
> I will not implement a global DNS cache on KDE because there already is a
> program that does that and for the whole system: nscd. Just install it.
> There is no need to import the nscd code into kded.
Are you sure a global cache is needed to help things? A per-slave cache
may be able to get much of the benefits, considering KIO tries to limit
the number of I/O slaves per process, even if it's something trivial like
a TTL of 30 seconds or such.
I am also very, very, concerned that some people suffer so badly due to
IPv6 support, which at the moment is basically just a geek feature, and
seems poorly supported by tons of DNS servers.
-Maks
More information about the kfm-devel
mailing list