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

optim: preallocate base-image placeholders #404

Open
rgaudin opened this issue Mar 27, 2024 · 2 comments
Open

optim: preallocate base-image placeholders #404

rgaudin opened this issue Mar 27, 2024 · 2 comments
Labels

Comments

@rgaudin
Copy link
Member

rgaudin commented Mar 27, 2024

image-creator spends time on each task creating the final image from the base image ; either:

  • downloading and extracting it
  • extracting from cache
  • copying from non-compressed cache

Copying those few GB of data takes a number of seconds for something we know in advance we'll need.

We could imagine the worker keeping a small pool of ready to move/rename copies of the base image and hand them over to the image-creator.

@rgaudin rgaudin added the worker label Mar 27, 2024
@kelson42
Copy link
Contributor

@rgaudin Or put them in the cache?

@rgaudin
Copy link
Member Author

rgaudin commented Mar 27, 2024

re-read the ticket?

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

No branches or pull requests

2 participants