This repository was archived by the owner on Nov 9, 2023. It is now read-only.
This repository was archived by the owner on Nov 9, 2023. It is now read-only.
Download package versions lazily #5
Open
Description
Right now the package import code downloads all package versions eagerly. This can be a lot of processing when the latest version is going to be requested and queried the vast majority of the time.
We should structure the import code so that the lastest version at import time is downloaded and indexed, as well as the list of versions and dist-tags. The other versions can be downloaded and indexed on demand.
This will mean that queries across packages will be limited to latest versions. This was likely the be the case in practice already as querying across packages at specific version numbers doesn't make a lot of sense since version numbers are mostly uncorrelated. We may want to download and index all versions referenced by dist-tags.
Metadata
Metadata
Assignees
Labels
No labels