[Yum] Faster downloads of headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



seth vidal wrote:
>>1. Use HTTP pipelining.  HTTP 1.1 allows sending multiple requests 
>>before reading the responses.  I don't know if the Python httplib 
>>supports pipelining.
> 
> 
> keepalive is already implemented in urlgrabber.
> 

Pipelining is different than keepalive.  Pipelining involves sending 
multiple requests before reading the response.  It works over persistent 
connections.  Instead of request-response-request-response, it is 
request-request-response-response.

>>2. Put the headers in an archive.  The initial fetch of a repository 
>>would download the archive if present and unpack it.  Later updates 
>>would fetch the individual headers.
> 
> the headers are going away in the next major version or so, so this is
> sorta moot point.
> 

What are they going to be replaced with?  A single description file?

  - Ian

-- 
ian@xxxxxxxxx
http://www.znark.com/


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux