Closed awendt closed 9 years ago
Thanks for the issue, i'll take a look.
Right now all builds, even those for the EU region are happening in the US East.
The https://s3-external-1.amazonaws.com
should correspond to the same data center (US East, Virginia) as the builds are happening in, so the download should be nearly instantaneous. We're measuring this download time across the platform and the 95th percentile for a download of bundler (stored in the same region) is 0.5546050 seconds with the average being 0.1 seconds.
It doesn't look like this is an issue on our end.
If you're using this buildpack outside of Heroku you can manually up the time out limit for binary downloads: https://github.com/heroku/heroku-buildpack-ruby/blob/master/lib/language_pack/fetcher.rb#L42
I'm in Europe and every time I try to download something from
s3-external-1.amazonaws.com
, it's slow as hell, up to a point where timeouts are hit:A quick check showed this endpoint is based in Seattle, WA.
These timeouts happen from home as well as from the office (where we have a ~50 Mbps download speed according to speedtest.net).
I've quickly verified that download speeds drop dramatically with CloudFront. So, in my opinion, the options to solve this, from best to worst ("best" meaning all devs benefit without much work), are:
BUILDPACK_VENDOR_URL
Did I miss anything obvious? What do you think of this?