Re: Feedback Request: yum-plugin-multithread

Miroslav Suchý <[email protected]>
Newsgroups gmane.linux.rpm.yum
Organization Red Hat, Registered Address: Red Hat Czech s.r.o., Purkynova 99/71, 612 45 Brno, Czech Republic, Registered in Brno under identification number CZ27690016
Message-ID <[email protected]>
On 02/19/2010 12:33 AM, Michael Schultz wrote:
> In my "spare time," I wrote a simple yum-plugin that uses the pycurl
> library to download the RPM packages as a predownload hook.  The goal

Great. Thx a lot. I was looking for something like that for long time.

> Questions, comments, observations?

I did not have time to try it yet. I just read the code and I have one 
comment.

Your code download n packages at time, no matter from where it come.
I would rather see one queue per repository and start each thread for 
each repository and its queue. So I will be downloading multiple 
packages from multiple urls (and multiple servers), which will much 
better then downloading n packages at time from repo A and then n 
packages at time from repo B.

-- 
Miroslav Suchy
Red Hat Satellite Engineering
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.