Community
Participate
Working Groups
Build Identifier: Hi. The current eclipse download page already does some kind of load balancing by automatically selecting a mirror. This seems to be meant for humans only, though. There seems to be no id or anything that could make it possible to reliably automate downloading from the autoselected mirror. Load balancing downloader scripts would work best, if there was a dedicated link that returns a redirect to the autoselected mirror. Some other download sites have this. Currently my eclipse downloader/installer script (http://iwant.svn.sourceforge.net/viewvc/iwant/trunk/iwant-core/src/main/bash/new-eclipse-env/) uses a hard-coded mirror, but this won't be fair to the mirror maintainers, if more people start using it. Plan B would be to add an id to the link that points to the autoselected mirror. This way the downloader script could parse the link. But this means more work for the script authors, so the redirect page would be better. Reproducible: Always Steps to Reproduce: 1. Navigate to download page 2. Autoselected mirror only available as human-clickable link 3.
Just add "&r=1" to the downloads url and that should automatically redirect to the 'best' mirror. Or have you tired this and it's not working? -M.
No, I was not aware of any r query parameter. Thanks, I'll try it tomorrow. Is this documented somewhere?
As I recall it was added a couple of years ago in response to a bug request(and documented there). Can't seem to find it though. I'll resolve this as 'worksforme' feel free to reopen if it's broken. -M.
Sigh. -M.
> Is this documented somewhere? It's documented in the code? I've added a "Options for this file" section which gives you some options: http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/indigo/SR1/eclipse-java-indigo-SR1-linux-gtk-x86_64.tar.gz
Thanks, not only does the r=1 trick work for me, but now it also seems to be documented in an optimal way: The link "Direct link to file (download starts immediately from best mirror)" on the download page. I guess now nobody will request it again :)