On Fri, Mar 12, 2021 at 10:21:45AM +0000, Richard W.M. Jones wrote: > AIUI end users are typing in these URLs and we download them on > demand. > > (I only wrote a very low-level component in this huge stack of cloud > stuff so I don't have the full picture, but the additional > complication I didn't mention is that we're using libcurl to download > ranges of the file, and it seems to get redirected to different > mirrors on every range, so it can still fail even if the first range > succeeded.) Fun. ;( ...snip... > > I'm not sure I understand the cloudfront URL there. Is that a > permanent thing? - It looks temporary. Why does it redirect to > dl.fp.org? Cloudfront is a caching / CDN type product made by amazon. We have it setup to use the master mirrors (dl.fedoraproject.org) as it's origin and cache access to that content. Currently we are only using it for Fedora instances in aws (mirrormanager gives them that for mirrors, which means they get a close/fast/cache of content. However, it's available from outside amazon too, so it should work to fetch other content without putting undue load on the master mirrors. The jumble of hostname there is how they make the distributions so they are unique. We could make a cname of it for more ease. Hopefully that makes sense. I am not sure we have a good story for your usecase, but at least that gives you some options... kevin
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure