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

[FEATURE] Parallel cache merging #39

Open
deemp opened this issue Apr 30, 2024 · 0 comments
Open

[FEATURE] Parallel cache merging #39

deemp opened this issue Apr 30, 2024 · 0 comments
Assignees

Comments

@deemp
Copy link
Collaborator

deemp commented Apr 30, 2024

Description of a problem the feature solves

Currently, cache merging is sequential.
Therefore, the next cache is downloaded only after the former cache is unpacked.
However, the next cache can be downloaded concurrently when the former cache is downloaded or when the former cache is being unpacked.

Describe the solution you'd like

Restore multiple caches concurrently.
Possibly, it's safe, at least in the case of the Nix store where paths are not overwritten if already present.

Describe alternatives you've considered

Write custom logic for separately downloading and unpacking caches.

@deemp deemp self-assigned this Apr 30, 2024
@deemp deemp changed the title [FEATURE] [FEATURE] Parallel cache merging Apr 30, 2024
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