Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: "Stuart Herbert" <stuart@...>
From: Robin H.Johnson <robbat2@g.o>
Subject: Re: FW: rsync etiquette follow-up
Date: Mon, 12 May 2003 15:33:43 -0700
On Mon, May 12, 2003 at 04:56:37PM +0100, Stuart Herbert wrote:
> I know that I could run an rsync mirror just for internal use - and that
> would help a lot.  Running a distfiles mirror is a lot less practical.  It
> would be much better if there was a way to share '/usr/portage' across
> multiple machines.  You can't do this safely via NFS.  If two machines try
> to download the same distfile at the same time, they interfere with each
> other.  
For the moment, could we have a workaround?
1. portage should keep lockfiles while it makes a call to wget/$FETCH so
that duplicate instances don't blow up (you can cause this even on a
single machine, no need for NFS).
2. as something extra from the above, say you are merging a bunch of
packages, and one of them is being downloaded by an alternate process.
Instead of failing immediately, portage should find the NEXT thing that
doesn't have an dependancies in the depgraph (another pure leaf node so
to speak), and run that way. If there is nothing else that can be done
without waiting for the other existing process, then we can throw a
temporary error.

> It'd be much better if emerge could be changed to a client/server model,
> where the emerge command becomes a client that contacts the (possibly
> remote) emerge server to do all the downloading and rsyncing.  For people
> running both client/server on the same machine, there's no noticable
> difference.  For people like me, trying to run a site of machines, I'm able
> to reduce the amount of load I place on your rsync servers and your distfile
> servers.
Long term this would be ideal, esp. if merged with functionality like
redhat's RHN subscriptions (able to push updates to a group of machines
automatically, and get error messages if it fails). This is one of those
enterprise level things that we need.

-- 
Robin Hugh Johnson
E-Mail     : robbat2@...
Home Page  : http://www.orbis-terrarum.net/?l=people.robbat2
ICQ#       : 30269588 or 41961639
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85
Attachment:
pgpnF2rVXWz1S.pgp (PGP signature)
References:
FW: rsync etiquette follow-up
-- Stuart Herbert
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: FW: rsync etiquette follow-up
Next by thread:
phpmyadmin-2.5.0 in unstable, please test
Previous by date:
phpmyadmin-2.5.0 in unstable, please test
Next by date:
Re: [update] emerge with interacitve use


Updated Jun 17, 2009

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.