Content-defined chunking added to Bazel
buildbuddy.io
Content-defined chunking added to Bazel
1–10 of 11 posts
Re: Content-defined chunking added to Bazel
#2Re: Content-defined chunking added to Bazel
#3Doesn't this mean that malicious inputs can deliberately cause super tiny or super huge chunks?
Re: Content-defined chunking added to Bazel
#4Re: Content-defined chunking added to Bazel
#5Doesn't this mean that malicious inputs can deliberately cause super tiny or super huge chunks?
You need to trust your build execution machine anyway. They have your source code and you will be executing the artifacts that they produce!
Re: Content-defined chunking added to Bazel
#6Bazel, on the other hand, is completely in control of this, and it makes perfect sense to do this at that point -- and it seems to be a relatively efficient implementation too, really nice to see!
Re: Content-defined chunking added to Bazel
#7This is something I'm very interested in implementing for Docker builds. I've tested out CDC for the final image outputs, it results in smaller outputs but requires tuning between saved space versus request count when pulling. For build cache it might be even more advantageous.
Re: Content-defined chunking added to Bazel
#8This is something I'm very interested in implementing for Docker builds. I've tested out CDC for the final image outputs, it results in smaller outputs but requires tuning between saved space versus request count when pulling. For build cache it might be even more advantageous.
Isn't that rather difficult given the `.tar.gz` layers?
Re: Content-defined chunking added to Bazel
#9This is something I'm very interested in implementing for Docker builds. I've tested out CDC for the final image outputs, it results in smaller outputs but requires tuning between saved space versus request count when pulling. For build cache it might be even more advantageous.
Isn't that rather difficult given the `.tar.gz` layers?
Re: Content-defined chunking added to Bazel
#10This is something I'm very interested in implementing for Docker builds. I've tested out CDC for the final image outputs, it results in smaller outputs but requires tuning between saved space versus request count when pulling. For build cache it might be even more advantageous.
Isn't that rather difficult given the `.tar.gz` layers?