[Rpm-metadata] metadata list and discussion over tapas tonight

seth vidal skvidal at phy.duke.edu
Tue Aug 5 18:11:36 UTC 2003


> Not on the Duke backbone, but it's pretty painful on high latency
> connections.  It's less of an issue for Red Carpet since we download
> most of that data in the background, but it's probably not an efficient
> transfer.
> 

Well I'm not just thinking for duke uses. I have some users of yum who
bitch and moan about bandwidth but none of them seem to frightened by
something measured in single digits of megabytes.



> I think he meant "general".  But yes, resolve the file deps internally
> within the repository and list those provides/requires in the list of
> provides/requires in the metadata file.  We added this recently into Red
> Carpet and it works nicely (certainly much better than the whitelisting
> we were doing previously), although it does mean a larger repository
> overhead.  But I'd rather push the burden onto the server at file
> generation time than onto every single client at dependency resolution
> time.

I'd kinda want to move away from that - it also limits you from being
able to run fun commands like yum provides '/some/misc/file' and being
able to search on it w/some percentage of correctness. I do like the
suggestion of the file listing  as a separate file that adrian had. It
increases the complexity but only barely.

> The descriptions are pretty small and would compress well.  In our XML
> metadata format, which contains the name, EVR, arch, summary,
> description, dependency data (although not file lists), package sizes,
> URLs, and a few other minor things that Peter mentioned earlier, all of
> Red Hat 8.0 comes out to be about 335k compressed, which isn't bad. 
> With file lists it goes up to somewhere around 2 megs.

That's a pretty reasonable amount. But downloading 335K then grabbing
the other 1.5M when needed isn't too bad either.

The trick is to not dump too much of the information into this file or
you'd be no better than just using the header itself.
335K sounds fairly good to me though.

> I would prefer to see as much information efficiently transferred up
> front as possible, largely because that's the way Red Carpet was
> designed, but also because as a GUI application, there is a major
> negative impact on usability if the user has to wait for anything to be
> downloaded, especially on slow or unreliable connections.  In an ideal
> world (and this is how we've implemented it in RC), once you have the
> metadata, the user never has to wait until it's time to actually
> download the packages and run the transaction.

Would this affect you then if in your case you decided to transfer both
the filelist file AND the packages file at the same time

that's a client implementation issue and not a big deal for the
repository
but for the repository it gives a more simple layout for separation
purposes.

-sv





More information about the Rpm-metadata mailing list