[prev in list] [next in list] [prev in thread] [next in thread]
List: kfm-devel
Subject: Re: Interesting thing with DNS requests
From: Thiago Macieira <thiago () kde ! org>
Date: 2006-12-07 17:51:59
Message-ID: 200612071851.59792.thiago () kde ! org
[Download RAW message or body]
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
[Attachment #3 (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic