[Yum-devel] New storage/cache type
seth vidal
skvidal at linux.duke.edu
Mon Aug 21 12:36:50 UTC 2006
On Mon, 2006-08-21 at 10:33 +0100, Menno Smits wrote:
> Hi all,
>
> I've been quietly working on a new caching backend for Yum. It replaces
> the sqlite storage mechanism with a custom file based storage. It only
> uses the Python standard library. My main motivation for this work is
> improving performance but it also has the nice benefit of reducing Yum's
> external dependencies.
>
> It's currently _very_ incomplete and only works for a small subset of
> Yum's functionality but for "yum list available" (my main test case atm)
> it's already a little faster that the sqlite implementation. There's
> still lots more avenues to explore in terms of getting it running faster.
>
> I was thinking of checking in what I've got and adding a yum.conf option
> to allow selection between the sqlite and this experimental backend. The
> new backend doesn't break the sqlite code and doesn't touch the existing
> cache files so they can run side by side. Anyone object to this?
>
no objection here.
> In doing this work I've noticed some places where the sqlite storage or
> general yum code can be optimised. I'll be committing patches for these
> soon once I confirm there are definite improvements.
great.
I've got to fix a yum provides bug and clean up some more things then I
think a 2.9.5 this week would be good. So, if you can get them in before
the week is out.
thanks,
-sv
More information about the Yum-devel
mailing list