Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically compute the mirror URL for downloading Solr #67

Closed
1 task done
BR0kEN- opened this issue Nov 22, 2017 · 1 comment
Closed
1 task done

Automatically compute the mirror URL for downloading Solr #67

BR0kEN- opened this issue Nov 22, 2017 · 1 comment
Assignees

Comments

@BR0kEN-
Copy link
Owner

BR0kEN- commented Nov 22, 2017

Download from Ukrainian mirror while located in Ukraine:

time wget http://apache.volia.net/lucene/solr/6.6.2/solr-6.6.2.tgz
--2017-11-22 17:34:47--  http://apache.volia.net/lucene/solr/6.6.2/solr-6.6.2.tgz
Resolving apache.volia.net... 82.144.192.7, 82.144.192.7
Connecting to apache.volia.net|82.144.192.7|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 147343211 (141M) [application/x-gzip]
Saving to: ‘solr-6.6.2.tgz.1’

solr-6.6.2.tgz.1                                   100%[================================================================================================================>] 140.52M  8.62MB/s    in 15s

2017-11-22 17:35:02 (9.40 MB/s) - ‘solr-6.6.2.tgz.1’ saved [147343211/147343211]


real	0m15.214s
user	0m0.112s
sys	0m0.974s

Download from the original location while located in Ukraine:

time wget http://archive.apache.org/dist/lucene/solr/6.6.2/solr-6.6.2.tgz
--2017-11-22 17:34:09--  http://archive.apache.org/dist/lucene/solr/6.6.2/solr-6.6.2.tgz
Resolving archive.apache.org... 163.172.17.199
Connecting to archive.apache.org|163.172.17.199|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 147343211 (141M) [application/x-gzip]
Saving to: ‘solr-6.6.2.tgz’

solr-6.6.2.tgz                                      62%[=====================================================================>                                           ]  87.60M  53.1KB/s    eta 22m 5s

Result: 100%/15 sec. vs 62%/22 min. I think comments are unnecessary.

To do

@BR0kEN- BR0kEN- self-assigned this Nov 22, 2017
@BR0kEN-
Copy link
Owner Author

BR0kEN- commented Nov 22, 2017

Thanks @ban6ka for pointing out to this.

So, the VM with all available software for installation, has been provisioned for ~23 minutes (including the vagrant up downtime).

Which version of PHP you'd want to install? (5.6/7.0/7.1) [5.6]:
Which version of Node.js you'd want to install? (4/5/6/7) [6]:
Which version of Ruby you'd want to install? (2.1.10/2.2.6/2.3.3/2.4.0) [2.4.0]:
Which version of Solr you'd want to install? (5.5.5/6.6.2/no) [5.5.5]:
Do you want to install Microsoft SQL Server? (yes/no) [yes]:
real	22m37.758s
user	1m37.990s
sys	0m33.631s

The command that was used for testing: vagrant destroy && time vagrant up.

speedtest

@BR0kEN- BR0kEN- changed the title Add an ability to select mirrors for downloading Solr Automatically compute the mirror URL for downloading Solr Nov 22, 2017
@lokeoke lokeoke closed this as completed Nov 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants