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

Speed up installation by stream decompressing image while downloading #51

Open
majst01 opened this issue Apr 30, 2021 · 0 comments
Open

Comments

@majst01
Copy link
Contributor

majst01 commented Apr 30, 2021

A viable approach would be to store the images in a OCI compatible registry as artifacts. With this approach we must not store 2 files (image and md5sum), and pulling/decompression can be done in parallel.

There is a golang client library available at: https://oras.land/client_libraries/go/

A sample implementation can also be found here: https://github.com/AkihiroSuda/apt-transport-oci/blob/master/pkg/method/method.go

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

No branches or pull requests

1 participant