[Yum-devel] yum on an olpc machine (slooooooooooow)
seth vidal
skvidal at linux.duke.edu
Sat Dec 16 22:20:02 UTC 2006
On Sat, 2006-12-16 at 20:56 +0200, Panu Matilainen wrote:
> >
> > Or maybe I'm being crazy, but I don't see it as another copy of the
> > metadata. I see it as the same copy, just removing the extra processing
> > of it from every person's machine and having the processing only occur
> > once.
>
> On a second thought...
>
> What do we need the xml for then, anyway? Even on fast computers the
> repodata format is very expensive to process (otherwise we wouldn't have
> had several generations of pickle and sqlite caches).
If we were going to get rid of the xml format altogether I would
recommend:
1. using the sqlitedb's as an optimization and non-api-breaking test in
3.0.X or so
2. figure out what improvements we could make to the db format to make
searching faster or to make it smaller on disk. This would mean working
out the right indexes, etc.
3. See if we could figure out a nice or simple way of providing an
sql-diff or even a binary-diff for updates to the metadata.
The thing I like about having the xml around though is that it is human
readable in a pinch. The sqlite is not.
-sv
More information about the Yum-devel
mailing list