Sentry-cli: Too slow installation for yarn

Created on 4 Oct 2017  ·  14Comments  ·  Source: getsentry/sentry-cli

All functionality works well with our Android and iOS app, however, yarn installation takes several minutes (usually 5~10 minutes), which is abnormal for a library. Is there any reason it takes this long? Am I only one who is experiencing this issue? FYI. Our team is in Korea. Other libraries' installation does not take this long (less than several seconds).

It takes a long time with under text displaying on the terminal.

[4/7] ⢀ sentry-cli-binary: fetching sentry-cli-Darwin-x86_64 xx%

All 14 comments

@ohtangza we fetch a release from github releases. So presumably the CDN that github releases uses is slow in Korea?

@mitsuhiko If you guys are okay, I think the CDN for our regions do not work well (sometimes okay). I'll keep track of this issue, and report after a while (within few days).

@ohtangza Any update on this?

@jan-auer It seems that it happens irregularly. Sometimes fast, sometimes slow. Since we cannot define which condition results in this slow installation, I think it's okay to close this issue until this becomes distinctive again.

Waiting a few minutes now for
@sentry/cli: fetching sentry-cli-Darwin-x86_64 84%
makes installing new packages slow
I couldn't understand when it is fetched and when it is not...

@dht It's still slow for our project (location: Korea). It always takes at least a minute, which adds up unnecessary waiting time for our CI build and dev teams. We are planning to migrate to BugSnag soon which is super fast for installation. I suspect that Sentry delivers its files through Github or somewhere else without CDN.

same.I have to spend over 5 mins to download it every time... extremly slow

I have same problem it.

This problem actually seems persistent and consistent (at least in Korea). So, our team is currently migrating to BugSnag...

@tonyo I am sorry to say that our company already migrated to BugSnag days ago. You could try https://www.webpagetest.org if you want to test download speed in the specific region!

I’m going to leave this open until we have migrated this to a custom CDN. Will however mean we need to still release to github as well for old versions not looking ar a cdn url.

just tried one link, it took only a few seconds from Tokyo

Starting from version 1.36.2, we distribute sentry-cli binaries via a CDN, kindly provided by Fastly (only NPM/Yarn and Brew installation methods for now).

TL;DR: downloads should be faster now 🎉

Was this page helpful?
0 / 5 - 0 ratings