[PATCH] KIO::SlaveBase and the event loop

Roland Harnau truthandprogress at googlemail.com
Tue Jul 22 11:07:22 BST 2008


2008/7/21, David Faure <faure at kde.org>:
> On Wednesday 16 July 2008, Roland Harnau wrote:

>> Some  logic may help: If starting 20 http slaves is a "problem"
>> because it takes ~2.6 seconds, than it is especially a "problem" if
>> Konqueror starts 20 http slaves during webpage loading, since
>> KIO::Slave::createSlave is the way used by KIO (and hence by
>> Konqueror) to create new IO slaves. And Konqueror/KIO launches in fact
>> over 20 http slaves at some sites. The conclusion is simply an
>> application of modus ponens.
>
> The planned fix for this is HTTP pipelining support.

Provided that all servers support HTTP/1.1. It should be sufficient if
KIO would make better use of persistent connections, e.g. set a
maximum number of simultaneous connections per host and queue
requests/jobs accordingly.


Roland




More information about the kde-core-devel mailing list