From owner-freebsd-ports Sun Feb 9 22:18:37 2003 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E32DF37B401; Sun, 9 Feb 2003 22:18:35 -0800 (PST) Received: from 12-234-22-23.client.attbi.com (12-234-22-23.client.attbi.com [12.234.22.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id C4A3443FBD; Sun, 9 Feb 2003 22:14:12 -0800 (PST) (envelope-from DougB@FreeBSD.org) Received: from dougb.net (h4vdfyvh7p455hwo@dougb.net [10.0.0.1]) by 12-234-22-23.client.attbi.com (8.12.6/8.12.6) with ESMTP id h1A6E8S8002633; Sun, 9 Feb 2003 22:14:11 -0800 (PST) (envelope-from DougB@FreeBSD.org) Date: Sun, 9 Feb 2003 22:14:08 -0800 (PST) From: Doug Barton To: Sean Chittenden Cc: ports@FreeBSD.org Subject: Re: Randomizing master sites for distfile downloads... In-Reply-To: <20030210054712.GW15936@perrin.int.nxad.com> Message-ID: <20030209221043.V866@12-234-22-23.pyvrag.nggov.pbz> References: <20030210021953.GT15936@perrin.int.nxad.com> <20030209213619.I866@12-234-22-23.pyvrag.nggov.pbz> <20030210054712.GW15936@perrin.int.nxad.com> Organization: http://www.FreeBSD.org/ X-message-flag: Outlook -- Not just for spreading viruses anymore! MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, 9 Feb 2003, Sean Chittenden wrote: > > > I've got a few ideas for randomizing load for a given geographic > > > region (Europe, Asia, Affrica, and the US being the 4 biggies: > > > > I'd like to steal part of your thread for an idea that I've been > > kicking around. I think it would be useful to allow a user to > > specify something like PORTS_DOWNLOAD_REGION in /etc/make.conf, and > > have bsd.sites.mk make reasonable decisions about which set of > > servers to use first based on that. I think your choices of regions > > is a good one. The code to do this is pretty easy to conceive, but > > if you need a proof of concept let me know. > > Actually, I was going to do one better by having fetch(1) hit a CGI > script that would do a GeoIP look up and would return a list of nearby > mirrors. This'd give the FreeBSD project some kind idea for what our > userbase is and what's getting installed where (prioritizing the > importance of ports based off of # of downloads). -sc Ummm.... I would object to this on two grounds. First, a potential performance hit for users behind a slow link. Second, ANY collection of statistics we do based on user activity should be strictly opt-in. Doing this without the user knowing about it would not only be rude (IMO), but open us up to some interesting legal issues. If you're not interested in my proposal (and if you're not, no problem) let me know and I'll move forward with some sample code myself. Doug -- "The last time France wanted more evidence, it rolled right through Paris with a German flag." - David Letterman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message