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

Accelerate export of language container #130

Open
tomuben opened this issue Apr 7, 2022 · 0 comments
Open

Accelerate export of language container #130

tomuben opened this issue Apr 7, 2022 · 0 comments
Labels
refactoring Code improvement without behavior change

Comments

@tomuben
Copy link
Collaborator

tomuben commented Apr 7, 2022

Background

when running exaslct export we run basically the following steps:

  • build the docker images of respective flavor (if not existent)
  • create docker container (but not start)
  • export (whole) docker container to tar
  • zip the tar, excluding certain directories

For huge containers the last two steps might become a pain point, for a 5GB container we measured ~15 minutes.

It should be possible to increase the speed of the export by starting the container and then exporting directories from inside the container, also using a compression tool which leverage multiple CPU cores (pigz).

Acceptance Criteria

  • Install pigz on all containers
  • Modify export_container_base_task so that it:
    • Starts the container, mounting a temporary directory
    • Creates the tar.gz from inside of the container to the mounted directory, ignoring the given list of directories
@tomuben tomuben added the refactoring Code improvement without behavior change label Apr 7, 2022
@tkilias tkilias changed the title Accelerate export Accelerate export of language container Apr 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Code improvement without behavior change
Projects
None yet
Development

No branches or pull requests

1 participant