RE: [opensuse-buildservice] central download redirection on software.openSUSE.org
Hi Christoph: I got a related question regarding the software repository. Adrian helped me delete two old repositories for the OSCAR project from the backend, but I was wondering how long it would take to propagate to the mirrors? Thanks, Bernard
-----Original Message----- From: Christoph Thiel [mailto:cthiel@suse.de] Sent: Wednesday, August 30, 2006 1:54 To: opensuse-buildservice@opensuse.org Subject: [opensuse-buildservice] central download redirection on software.openSUSE.org
Hi everyone,
with the exponential growth of Build Service repositories, we need to find a better way to keep a local "state cache" on software.openSUSE.org. Currently, we poll each mirror (basically do a "find /pub/opensuse/repositories") to keep the cache coherent. While this took only some minutes for the few repos we started with, this is taking > 1 hour for fast mirrors already and will get even worse in the future :(
Therefore we are looking for suggestions for improvement!
One option would be to download the repomd.xml for each repository and figure if it's current to mark all files in that repository "up-to-date". But still, this would require > 700 GETs per server with the current number of repositories.
Another option is to just have "pushed mirrors" in our software.openSUSE.org redirection, because it's quite easy to parse the rsync output and updated the cache based on that output.
The code that keeps the cache is available from https://forgesvn1.novell.com/svn/opensuse/trunk/tools/download -redirector
Regards Christoph --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Thursday 31 August 2006 01:41 schrieb Bernard Li:
Hi Christoph:
I got a related question regarding the software repository. Adrian helped me delete two old repositories for the OSCAR project from the backend, but I was wondering how long it would take to propagate to the mirrors?
it should happen very fast for the pushed mirrors and < 1 day for the polling mirrors. However, I have not triggered any build inside of your project, so the sync to external will only happen after something is changing inside of your project. bye adrian -- Adrian Schroeter SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany email: adrian@suse.de --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Thu, 31 Aug 2006, Adrian Schröter wrote:
I got a related question regarding the software repository. Adrian helped me delete two old repositories for the OSCAR project from the backend, but I was wondering how long it would take to propagate to the mirrors?
it should happen very fast for the pushed mirrors and < 1 day for the polling mirrors.
Some mirrors (ftp-1.gwdg.de) aren't pushed with the --delete option, so they will get deleted on the mirror side after a full run (which happens daily at ftp-1.gwdg.de, IIRC).
However, I have not triggered any build inside of your project, so the sync to external will only happen after something is changing inside of your project.
Regards Christoph
participants (3)
-
Adrian Schröter
-
Bernard Li
-
Christoph Thiel