public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Dr. Christoph Gille" <christoph.gille@charite.de>
To: cygwin@cygwin.com
Subject: setup.exe: Determine Geographically closest mirror programmatically
Date: Wed, 16 Sep 2009 08:27:00 -0000	[thread overview]
Message-ID: <d2fd360fefc6e975f8faade677043319.squirrel@webmail.charite.de> (raw)
In-Reply-To: <4AAFCDC3.6070001@cygwin.com>


> Closest mirror?  I'm not sure what you mean by this.  'setup.exe' does not
> require this as a setting.  Actually, there is no such concept.  You need to specify
> a mirror to work with but you can do that with '-s'.

With each superfluous click I lose a user, so it would be best if setup.exe would be run within http://3d-alignment.eu/  without
user interaction.

I am not a network specialist, but
I see two possibilities how I could determine the closest cygwin mirror:

(I) I could compare the IP numbers  of all mirrors to the IP number of the client and make a guess of the geographically closest site.
I would use the site where the first digits of the IP match best and I would then probe a short file to check whether the mirror is indeed working.

(II) This is what I am currently using to determine the fastest database mirror for 3D-structures:
I fetch a tiny probe file from each database mirror and take the one with the shortest respond time.
This method is more simple  but as there are that many cygwin mirrors, I am not sure whether I would run into problems.

When I have the mirror I would set it with the command line option of setup.exe.
I think this would work and could be done easily. Do you have  other ideas?

Could you please tell me the URL of the file with the cygwin mirror list?

Cheers

Christoph





--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

  reply	other threads:[~2009-09-16  8:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-15 15:01 setup.exe: How specify web proxy by command line parameters Dr. Christoph Gille
2009-09-15 15:14 ` Larry Hall (Cygwin)
2009-09-15 16:28   ` Dr. Christoph Gille
2009-09-15 16:31     ` Charles Wilson
2009-09-15 17:25     ` Larry Hall (Cygwin)
2009-09-16  8:27       ` Dr. Christoph Gille [this message]
2009-09-16  9:36         ` setup.exe: Determine Geographically closest mirror programmatically Dave Korn
2009-09-16 12:10         ` Ralph Hempel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d2fd360fefc6e975f8faade677043319.squirrel@webmail.charite.de \
    --to=christoph.gille@charite.de \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).