Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install update - Improve extension selection performance #3242

Closed
3 tasks done
joaomoreno opened this issue Feb 22, 2016 · 2 comments
Closed
3 tasks done

Install update - Improve extension selection performance #3242

joaomoreno opened this issue Feb 22, 2016 · 2 comments

Comments

@joaomoreno
Copy link
Member

Issue: #2621
Assignees:

Details:

We now cache the extension gallery results in an Azure blob. This cache helps us in being faster in displaying the extension list but introduces another level of complications.

The cache itself lives at http://vscode.blob.core.windows.net/gallery/index. It is updated every minute due to a Scheduler service in Azure.

  • Make sure searching for extensions inside Code works as before, but is faster.
  • Using a firewall, try blocking the cache's requests. Make sure Code falls back to the original Gallery API.
  • You can (and should) also go into our Azure subscription, stop the scheduler that updates the cache every minute and test the query once 5 minutes have passed. The rule is: if the gallery index is stale for more than 5 minutes, Code should fall back to the original service call. Ultimately, you should always see extensions.

image

@joaomoreno joaomoreno self-assigned this Feb 22, 2016
@joaomoreno joaomoreno added this to the Feb 2016 milestone Feb 22, 2016
@egamma egamma mentioned this issue Feb 22, 2016
97 tasks
@joaomoreno joaomoreno removed their assignment Feb 23, 2016
@weinand
Copy link
Contributor

weinand commented Feb 23, 2016

@joaomoreno I'm using Little Snitch on OS X as a firewall for outgoing requests:

2016-02-23 22-54-37

But I could not see a noticable difference when blocking access to the caching service or even stopping the service for more than 5 minutes.

So i wasn't able to find any problems, but I couldn't see a noticeable speed difference either.

@alexdima
Copy link
Member

I added the following to my hosts file:

127.0.0.1 vscode.blob.core.windows.net

and it still works

@isidorn isidorn closed this as completed Feb 24, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants