Re: ip-to-country - summary
| From: | Jim Winstead | Date: | Wed, 30 Apr 2003 19:15:05 +0000 |
| Subject: | Re: ip-to-country - summary | ||
| References: | 1 2 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-17167@lists.php.net to get a copy of this message | ||
On Fri, Apr 25, 2003 at 10:21:26PM +0200, Jacques Marneweck wrote:
> Looks like mysql.com is doing the method I've meantioned. Maybe Jim can
> enlighten us?
sorry, i haven't really been following the full discussion.
http://www.mysql.com/downloads/mirrors.html
(and the individual download
pages for each product) uses the country data supplied by geoip to
display mirrors in the same country. it will remember which mirror
you've selected (via cookie) to display more direct download links, but
it always provides a link to be able to pick a new mirror.
because mirrors of mysql.com are entirely static, distributing the geoip
data to the mirrors is not an issue.
jim
> Regards
> --jm
>
> > -----Original Message-----
> > From: Gabor Hojtsy [mailto:gabor@hojtsy.hu]
> > Sent: Friday, April 25, 2003 9:48 PM
> > To: Jacques Marneweck; Divyank Turakhia; php-mirrors@lists.php.net
> > Cc: jimw@php.net; imajes@php.net; 'James Cox'
> > Subject: Re: ip-to-country - summary
> >
> >
> > > I was taking a peek at doing stuff kief stuff when doing a
> > > /get/file/from/mirror goodie we can open a connection to the remote
> > > server the user wants to pull the file from and check it
> > the file exists
> > > read say 1024/2048 or however many bytes, check the status
> > code. I do
> > > something similar with my implementation to Colin's works
> > stuff and to a
> > > couple other sites that I use for work. This would add a
> > slight 1 sec
> > > or so delay but it's prob worth it?
> >
> > I don't think that this worth it in real time. We can play with the
> > last-updated date we already collect from the mirrors. We
> > know when a release
> > was out, and if the site was updated since that time, then
> > the file should be
> > there. We also check all mirrors every hour, and remove them
> > after a few days
> > of inactivity / outdatedness. We can distribute the
> > last-updated and last-up
> > dates to the mirrors... But this is pure speculation, and is
> > only interesting
> > if we would like to do some automatic redirection, which we
> > would not ;)
> > First do the first steps, then go on...
> >
> > Goba
> >
>