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

Is it possible to avoid caching tiny outputs? #31

Open
Cloudef opened this issue Jan 14, 2024 · 2 comments · May be fixed by DeterminateSystems/magic-nix-cache#69
Open

Is it possible to avoid caching tiny outputs? #31

Cloudef opened this issue Jan 14, 2024 · 2 comments · May be fixed by DeterminateSystems/magic-nix-cache#69

Comments

@Cloudef
Copy link

Cloudef commented Jan 14, 2024

I'm looking at my caches and there's lots of very tiny objects. I'm not sure if it's possible to skip caching these without causing rebuild of bigger outputs? If there is a way, it could help with amount of api calls to github as well.

@arvindpunk
Copy link

Agreed, I've seen caches amounting to 200 Bytes (not even KBs, bytes!) being set. The build time for tiny objects is insignificant in most cases, the post action of caching adds to Github API calls + time (1-2 second per object, even for < 200 Byte objects).

@phanirithvij
Copy link

I kept hitting NixOS/nix#10092 with the substitutor getting disabled too frequently.

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

Successfully merging a pull request may close this issue.

3 participants