Re: multithreaded package download

seth vidal <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <1236002451.4878.1.camel@rosebud>
On Sun, 2009-03-01 at 17:53 +0530, pranjal pandit wrote:
> hello,
> i have downloaded the yum source code through git.
> I want to do two things( as discussed  in previous mails)
> 
> 1)multiple parts download of a single rpm file from a server which
> would increase overall download speed especially of the large sized
> packages.

look at downloadPkgs() in yum/__init__.py



> 
> 2) simultaneous downloads of two or more packages from different
> mirrors; which would again make process faster in case when a large
> number of small sized packages are to be downloaded(sizes 20kb 50kb).

same as above, then look through urlgrabber for a while and
yum/yumRepo.py


-sv
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.