[Yum-devel] hybrid caching

seth vidal skvidal at linux.duke.edu
Wed Oct 25 05:24:29 UTC 2006


On Sat, 2006-08-26 at 01:44 -0400, seth vidal wrote:
> I mentioned this to Jeremy today on Jabber since we were talking about
> the caching backends. Menno's been working on a text-file-based cache
> for the metadata. One thing that seems to come out of this (iirc) is
> that storing complete file lists in a text file is pretty fast to input
> and pretty fast to search. 
> 
> Right now the only problem with the filelist storage in sqlite is that
> in order to make the insertions fast enough we have to have this layout
> of the table which makes certain queries rather difficult (especially
> wildcard file-provide searches or general file-provide searches)
> 
> Would it make sense to combine the cache mechanisms at some point and
> have a sqlite cache for primary.xml and a text-file cache for
> filelists.xml?
> 
> alternatively, have large amounts of inserts into sqlite gotten any
> faster in recent versions?
> 

looking over old email again:

 Menno have you had any time to finish up your filelists-in-a-text-file
cache format?


-sv





More information about the Yum-devel mailing list