From owner-freebsd-current Fri Jan 21 13: 7:19 2000 Delivered-To: freebsd-current@freebsd.org Received: from picnic.mat.net (picnic.mat.net [206.246.122.133]) by hub.freebsd.org (Postfix) with ESMTP id 1679214D00 for ; Fri, 21 Jan 2000 13:07:15 -0800 (PST) (envelope-from chuckr@picnic.mat.net) Received: from localhost (chuckr@localhost [127.0.0.1]) by picnic.mat.net (8.9.3/8.9.3) with ESMTP id QAA55306; Fri, 21 Jan 2000 16:05:53 -0500 (EST) (envelope-from chuckr@picnic.mat.net) Date: Fri, 21 Jan 2000 16:05:53 -0500 (EST) From: Chuck Robey To: Warner Losh Cc: John Polstra , joe@pavilion.net, current@FreeBSD.ORG Subject: Re: Please help spread the CVSup mirror load more evenly In-Reply-To: <200001212055.NAA13871@harmony.village.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 21 Jan 2000, Warner Losh wrote: > In message <200001211911.LAA11701@vashon.polstra.com> John Polstra writes: > : > Can you make cvsup accept multiple servers to try in it's configuration > : > file? > : > : I'll add that to the to-do list. > > I have a very crude script that does its own (fixed) round robin of > multiple servers. It tries three times fast (yes, I know that's > likely bad) and then goes to the next one on the list. If all else > fails, it will try the first one on the list in "forever" mode (with > the nice random retries). > > I'll have to see about puitting into good shape and posting it. I would think using a fixed order would be a really bad thing, causing overload of the first server in line. Did I misunderstand you? How about doing a script (say in perl, it has random numbers) that randomly picks the server from a list? That way, the list could even be weighted, so as to allow for greater or lesser machine resources (like net access). ---------------------------------------------------------------------------- Chuck Robey | Interests include C & Java programming, FreeBSD, chuckr@picnic.mat.net | electronics, communications, and signal processing. New Year's Resolution: I will not sphroxify gullible people into looking up fictitious words in the dictionary. ---------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message