Skip to content
This repository has been archived by the owner on Aug 18, 2018. It is now read-only.

Keeping the store warm #8

Open
zkochan opened this issue Dec 22, 2017 · 6 comments
Open

Keeping the store warm #8

zkochan opened this issue Dec 22, 2017 · 6 comments

Comments

@zkochan
Copy link
Member

zkochan commented Dec 22, 2017

If the store server will automatically keep the store warm, it will be possible to do all installations in offline mode.

changes-stream can be used for listening to changes in the npm registry. For usage examples see greenkeeperio/changes


ideas:

  • It might be enough to keep only the tarballs of the latest versions
  • when a package is downloaded to the store, also download all of its dependencies, if they are not in the store yet
@zkochan
Copy link
Member Author

zkochan commented Dec 25, 2017

@etamponi would you be interested in this?

I know for a fact that with a warm cache, installation with pnpm is at least 2 times faster than with cold cache. So with a store server running, installations would be almost always two times faster.

@zkochan zkochan changed the title Keep the store warm Keeping the store warm Dec 25, 2017
@etamponi
Copy link
Member

I would be really interested in this! What would be the space requirement?

@zkochan
Copy link
Member Author

zkochan commented Dec 26, 2017 via email

@etamponi
Copy link
Member

etamponi commented Dec 26, 2017 via email

@zkochan
Copy link
Member Author

zkochan commented Dec 26, 2017 via email

@etamponi
Copy link
Member

etamponi commented Dec 26, 2017 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants