Should Gradient Cache enforce blake3-hashes #34
Closed
DerDennisOP
started this conversation in
Polls
Replies: 1 comment 1 reply
|
Would it be possible to enable blake3-hashes in gradient via a feature flag or does this create to much maintenance burden? |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
blake3-hashes are great! Especially because it allows to hash objects with multiple cores. Since Gradient uses their workers to hash and compress their builds, it would speedup build time by quite some amount. Nix has an experimental feature called "blake3-hashes", but when we hash for this specific feature, every cache substituter would also need to also enable this experimental feature.
TLDR': If the cache only supports blake3-hashes, every machine that substitutes from it needs to also have this experimental feature enabled.
Why is blak3-hashes a experimental feature? NixOS/nix#12379 (comment)
7 votes ·
All reactions