Live data from Hacker News

Cloudflare Package Repository Mirrors

cloudflaremirrors.com

51–59 of 59 posts

Re: Cloudflare Package Repository Mirrors

#51

Earlier quoted context omitted.

How is Docker hub from Vietnam nowadays? I lived in Cambodia from 2014-2016, and it was nearly impossible to pull Docker images which have large single layers. Would be great to have a Cloudflare solution for this.

Off-topic. I visited Cambodia for 3 weeks in 2017. It's a beautiful country and I enjoyed every minute. My mind has pondered over living there long-term -- it seems so affordable. How was your experience living there for a while, especially as a developer?

I haven't lived in Cambodia, but what's I dislike about it is that it's feels generally like it more poor than Vietnam in quite ugly way: there are more people begging on the streets; including children. Might be something changed in recent years, but I have no idea.

In Vietnam / Thailand you just generally don't see this except in few tourist areas that you can easily avoid.

Re: Cloudflare Package Repository Mirrors

#52
post #5

As much as I'd love to use CloudFlare's uniformly fast network for package update, I'd never use this simply because I already depend on them for too much stuff. It's not like letting them gather logs on my computers updating would be terrible somehow, but if it's so easy to avoid donating more logs and more dependence on them, why not do it for the sake of preserving diversity? Growing companies often exhibit a long…

Another service I worry about in this regard is let's encrypt. They passed 50% marketshare 2 years ago. And many systems have special casing support only for let's encrypt.

Re: Cloudflare Package Repository Mirrors

#53
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?

Being a proxy and cache is their business. All it takes to set things up that way is then a little bit of configuration that points to the actual origin.

I think if they would be an official mirror there would be a fair amount of more work being involved. Eg you can’t just randomly wipe the cache anymore and need to have higher persistence guarantees, since you are not supposed to refetch from other mirrors all the time.

Re: Cloudflare Package Repository Mirrors

#54

Earlier quoted context omitted.

Right that makes sense, so Cloudflare would actually have to make the caching context-aware, not just classic HTTP proxying.

I'm not aware of the technical how, but the Arch infrastructure seems to measure this successfully; a hook into this data might be a great way for the two to interoperate (so that Cloudflare always serves the freshest cache/mirrors). https://www.archlinux.org/mirrors/status/

The relevant code can be found here I believe: https://github.com/archlinux/archweb/blob/master/mirrors/man...

Re: Cloudflare Package Repository Mirrors

#56

Earlier quoted context omitted.

How is Docker hub from Vietnam nowadays? I lived in Cambodia from 2014-2016, and it was nearly impossible to pull Docker images which have large single layers. Would be great to have a Cloudflare solution for this.

Off-topic. I visited Cambodia for 3 weeks in 2017. It's a beautiful country and I enjoyed every minute. My mind has pondered over living there long-term -- it seems so affordable. How was your experience living there for a while, especially as a developer?

As the other commenter hinted, Siem Reap is a great place for expats, and that’s where I lived as well. The population is much more poor than the surrounding countries, but they are all so incredibly friendly and happy despite all this. You do need to make an effort really going into the country side to see the “real” Cambodia, I strongly advise against using only the cities as your reference, as they are generally very “tourist/expat savvy”, by lack of a different definition.

I did freelance work for a few European businesses, mostly C++ and devops stuff, and for a long time I felt I was living the life. What drew me back, however, was ambition: before taking the sabbatical, I had successfully founded and “exited” (more like an acqui-hire with some pocket money) a startup, and I was craving for more. It was very difficult to find people that I could consider my peers in Siem Reap, and this left some void. This may also have to do with my nature as an introvert, they may have been out there, but most developers out there actually are web developers, which isn’t my cup of tea.

All in all, however, the whole experience of being completely detached from my life back home for an extended period of time has made me a much more stable person, and I would do it again in a blink of an eye. As crazy as it sounds, I can now better appreciate the “rat race” and its good parts, and know that I also miss being challenged in that area.

Feel free to reach out to me directly if you feel like it.

Re: Cloudflare Package Repository Mirrors

#57
post #50
post #47

Earlier quoted context omitted.

I surely miss the developer/tech atmosphere that was there in Berlin, Frankfurt, etc. The life is quite simple, and the coffee culture is based around chatting with friends for hours, instead of sitting in a cafe and getting work done on a MacBook Pro or a Thinkpad X1 carbon. If you live like a local, which is not to say any lower living standards, it can be pretty cheap. At around 2x the living cost of a local, one…

Where exactly in Indonesia have you lived? Bali is like two times more expensive compared to Vietnam. Also internet connection was generally much worse for me in Indonesia due to their island nature I guess. In Vietnam it's super easy to setup two 50-100Mbps FTTB lines for something like $80 / month (just in case one of ISP go down).

Yogyakarta, Malang, and Bandung (all on Java).

Re: Cloudflare Package Repository Mirrors

#58
post #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?

Oh ! totally makes sense, nice guess. and very interesting

Re: Cloudflare Package Repository Mirrors

#59

Earlier quoted context omitted.

Off-topic. I visited Cambodia for 3 weeks in 2017. It's a beautiful country and I enjoyed every minute. My mind has pondered over living there long-term -- it seems so affordable. How was your experience living there for a while, especially as a developer?

As the other commenter hinted, Siem Reap is a great place for expats, and that’s where I lived as well. The population is much more poor than the surrounding countries, but they are all so incredibly friendly and happy despite all this. You do need to make an effort really going into the country side to see the “real” Cambodia, I strongly advise against using only the cities as your reference, as they are generally v…

I was actually in the Puok district outside Siem Reap for the 3 weeks. Mostly stayed in the rural side living with locals. I also visited the city for the weekends and it seemed like a great place to settle.

I also don't tend to go out of my way to meet peers in my local city. I guess I just prefer larger conferences for networking.

Thanks for the input! Maybe one day I'll also get acqui-hired and move there :)

Post reply on HN