Interesting thing with DNS requests

Thiago Macieira thiago at kde.org
Thu Dec 7 17:51:59 GMT 2006


Mario Weilguni wrote:
>I still think DNS caching in kio might be necessary. Long ago, I had the
> same problem with a page with many pictures on it, and konquerer did
> way too much DNS lookups.
>
>Of course this is a problem, even a small latency of 30ms for a DNS
> lookup will be noticeable if 650 requests are going over the wire.

I disagree. I will not implement such feature.

If you have a webpage that downloads 650 items from 650 different 
webservers, you deserve to be shot.

On the other hand, if it's from the same webserver, kio_http should be 
keeping the connection alive and do a total of 5 lookups. If the server 
doesn't support connection keep-alive, you should fix it.

0.5 ms name-lookup latency + 100 ms TCP connect latency for 650 items is 
way too much.

(Yes, 0.5 ms. If yours takes 30 ms, it's too slow)
-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20061207/5f00e782/attachment.sig>


More information about the kfm-devel mailing list