Git Product home page Git Product logo

Comments (13)

leezu avatar leezu commented on May 20, 2024 1

That works. I had some speed issues but in the end a VPN is at fault. Sorry about the noise.

from gluon-nlp.

szha avatar szha commented on May 20, 2024

I always keep the global s3 in sync with the China s3 mirror

from gluon-nlp.

szha avatar szha commented on May 20, 2024

the global s3 is backed with s3-accelerate, which already utilizes all cloudfront edge locations.

from gluon-nlp.

szha avatar szha commented on May 20, 2024

Try export MXNET_GLUON_REPO=https://apache-mxnet.s3.cn-north-1.amazonaws.com.cn/

from gluon-nlp.

leezu avatar leezu commented on May 20, 2024

Thanks, it's great you already thought about this issue and that there is already a solution!
What do you think about putting that behind Cloudfront. If I understand correctly we may use a single link then and the correct region will be selected automatically based on the source of the request.

from gluon-nlp.

szha avatar szha commented on May 20, 2024

Due to regulation in China, it requires a business entity and registration with the government to set up CDN in China.

from gluon-nlp.

szha avatar szha commented on May 20, 2024

Also, China AWS accounts are separate from global AWS accounts, so we would at least need to cloudfront end points. Then we would need DNS magic to point to the right endpoint, so I haven't gone through that route yet.

from gluon-nlp.

leezu avatar leezu commented on May 20, 2024

Btw, the China S3 mirror also slow in Asia-Pacific region outside of mainland (eg. HK).

from gluon-nlp.

szha avatar szha commented on May 20, 2024

@leezu how's the speed with the global repo? Tokyo/Singapore edges might be fast.

from gluon-nlp.

eric-haibin-lin avatar eric-haibin-lin commented on May 20, 2024

Is this issue resolved?

from gluon-nlp.

leezu avatar leezu commented on May 20, 2024

I think the current S3 Accelerate approach is sufficient. AWS recently added CloudFront endpoints in Hong Kong and mainland China.
S3 Accelerate doesn't make use of the endpoints in mainland China though, but maybe they will in the future.

Do we have any reports of trouble downloading in China? I'll close this for now, but let's reopen once we have more evidence of the issue.

from gluon-nlp.

szha avatar szha commented on May 20, 2024

@leezu they won't. China is a separate region entirely and there's no data exchange with the global region except on the public network.

from gluon-nlp.

leezu avatar leezu commented on May 20, 2024

Cloudflare does, so I think Cloudfront will need to do eventually as well. Cloudflare advertises this feature heavily https://www.cloudflare.com/network/china/

from gluon-nlp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.