Live data from Hacker News

Cloudflare Package Repository Mirrors

cloudflaremirrors.com

21–30 of 59 posts

Re: Cloudflare Package Repository Mirrors

#21
post #18

I don't understand, is Cloudflare hosting their own mirrors or what?

I understand they just proxy (and cache). They are still requesting packages from the actual repository if they don’t have it cached.

But I agree — don’t really see the point. Why not just become an official mirror?

Re: Cloudflare Package Repository Mirrors

#22
I can't get it to work, packages upgrades show this error. Any ideas?

  error: failed retrieving file 'XXX' from cloudflaremirrors.com : HTTP server doesn't seem to support byte ranges. Cannot resume.

Re: Cloudflare Package Repository Mirrors

#25
post #13

Now every time cloudflare has a hickup, not only is half the internet unreachable, you can't even update your server... nice /s

At least on Arch Linux you can specify multiple servers, ensuring you don't depend on a single one.

I know, but lets be real for a moment: Cloudflaremirror will probably be the fastest. This will cause people to configure it and because people are generally lazy they will not configure other mirrors.

Re: Cloudflare Package Repository Mirrors

#27

Is it me, or it downloads so fast that the progress output doesn't even show in the terminal ? On Archlinux.

I think the header Content-Length is missing.

range requests to resume downloads do not work either...

but when encountered i can see the progress of downloading that package with the failed resume attempt... quite weird behavior

Re: Cloudflare Package Repository Mirrors

#28

Is it me, or it downloads so fast that the progress output doesn't even show in the terminal ? On Archlinux.

I saw the same. My best initial guess is that this is somehow caused by cloudflare either setting the content-type header to text/plain or not setting the accept-ranges header. Or maybe both?

Re: Cloudflare Package Repository Mirrors

#29
post #21
post #18

I don't understand, is Cloudflare hosting their own mirrors or what?

I understand they just proxy (and cache). They are still requesting packages from the actual repository if they don’t have it cached. But I agree — don’t really see the point. Why not just become an official mirror?

They have Cloudflare Workers (with limited disk space), but act as a caching proxy is still the main business of Cloudflare. So i think acting as a proxy make sense for Cloudflare.

Re: Cloudflare Package Repository Mirrors

#30

How is this supposed to work? (I use Arch BTW) supposed I'm in a country X, does Cloudflare basically caching the request to server that are in country X? But I'm already close to that server and I'm always cautious with mirrors that are in country X, often they were out of date :(

This is my issue with it as well - it's basically their geo-sniffing magic routing you towards the closest officially listed mirrors for that country (glorified proxy); it makes the mistake of presuming that all those mirrors listed in the Arch country-mirrorlist are created equal in terms of reliability and performance, but they're not (we have a whole web page just to track out of date mirrors).

I'd guess if this gains traction, the caching on Cloudflare's side will usually make up for this, and if it hits the actual mirror behind it, the load on that one should be lower than before. It reads like they will try to proxy multiple local mirrors so time will tell how well they will pick amongst them. I'm switching for now to see how it will perform over a longer period.
Post reply on HN