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

add experimental feature to enable zstd for depot builds #4065

Merged
merged 4 commits into from
Nov 15, 2024

Conversation

jipperinbham
Copy link
Contributor

Change Summary

What and Why:

For most Apps, enabling zstd will improve machine create times due to faster image pulls. With Fly's built-in builder, it was never able to make it possible to enable zstd builds and left the user having to manage the image build process on their own. However, now that we default to depot builders, it's possible to enable the feature with an additional argument, https://depot.dev/blog/building-images-gzip-vs-zstd.

How:

To start, we'll allow enabling zstd builds to be done with the experimental section of fly.toml or as a flag passed to fly machine run.

Related to:

https://community.fly.io/t/try-out-faster-machine-creation-with-zstd/18354
https://community.fly.io/t/why-machines-take-a-lot-of-time-to-be-created-sometimes/22647/2


Documentation

  • Fresh Produce
  • In superfly/docs, or asked for help from docs team
  • n/a

@jipperinbham jipperinbham merged commit cafc23d into master Nov 15, 2024
30 checks passed
@jipperinbham jipperinbham deleted the feat/depot-zstd branch November 15, 2024 19:51
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 this pull request may close these issues.

2 participants