-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
Add haxelib website to cloudflare #33
Comments
It seems to run at normal speed for nme. NME 3.5.6 installed within about 20 seconds. |
really? It almost took an hour here. And my internet connection isn't too bad (50mbps) |
I can imagine that the haxe.org server is not highly prioritized in transatlantic internet traffic. So for all our non-european users CloudFlare is really worth consideration. However, if we do use CloudFlare, I think we need to set the cache headers right and we probably must forbid uploading the same version again, since it will be cached by the CDN - at least that's how I understand things. |
Makes sense for me, back2dos! It should be as simple as setting a .htaccess configuration for it. |
👍 NME takes a good 10 minutes for me in the central US. Most other libraries are not a problem since they usually fall under 1MB. |
@waneck Can you take charge of this, even if only by mere delegation? ;) |
Sad to say I haven't done anything with either Cloudfront or AWS yet, but On Wed, May 28, 2014 at 9:05 PM, Juraj Kirchheim
|
I can handle it. But I'll need some help to get access to the Haxe.org DNS |
Anyway, if you want to do it, the only thing you need is a cloudflare account, and repeat all our current DNS records into CF |
Ping @ncannasse (I assume?) |
@waneck reach me on Skype so we can setup it together |
+1 |
What's the progress on this? |
Oh sorry, I completely missed @ncannasse's post. I'll get in contact with him to set this up |
Hey, I would also like to see a faster haxelib download soon. |
Any progress? |
I've just enabled AWS CloudFront for lib.haxe.org. Please report any problem regarding to haxelib install/submit/whatever. I used CloudFront instead of CloudFlare because:
|
Sadly, CloudFront suddenly doesn't play well with our current haxelib clients, so I've disabled it. I don't think I've changed anything from our side that could cause the issue, so may be it is CloudFront. The issue is, when My plan is to fix the haxelib client to support http redirect (301/302), and then let our server to route the new clients to download libraries from a CloudFront-backed url. Old clients will still be directly served by the web server, which will be a bit slower, but at least works. |
Downloading hx-cpp takes about 10 min in Hong Kong with manual download. CLI download is far worse. |
The current haxelib repo server has a very slow internet connection; downloading NME's 60MB zip takes more than 30min!
I can offer to sponsor a server that has better speed to solve this problem; but an easier solution would be to try to use CloudFlare on top of the sever.
CloudFlare is a free CDN (see https://www.cloudflare.com/features-cdn ), and it should speed up the server's upload rate considerably.
The text was updated successfully, but these errors were encountered: