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

Async cache upload #13

Open
terlar opened this issue Jun 27, 2023 · 1 comment
Open

Async cache upload #13

terlar opened this issue Jun 27, 2023 · 1 comment

Comments

@terlar
Copy link

terlar commented Jun 27, 2023

Right now the upload of the cache happens at the very end. I wonder if cache upload could be done async as things get built, kind of like what cachix can do. Now I think it adds some extra time to do the actual upload as it doesn't do anything else, just waits to complete the upload.

A non-blocking post-build hook perhaps or something watching the store, which I guess already is in place to know which paths to upload in the end.

@blaggacao
Copy link

My gut feeling tells me that this could cut out another 30% on cycle time.

grahamc pushed a commit that referenced this issue Mar 4, 2024
Receive startup notification from magic-nix-cache via HTTP
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

2 participants