Replies: 2 comments
-
I would make it opt in, but use compression in all examples given. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently the default is to use no compression for packages built using this library, but that possibly isn't a good default. Zstd compression is the default for
rpmbuild
, and compressed RPMs can save a significant amount of disk space and network bandwidth.There were some numbers produced a few years ago by Fedora: https://fedoraproject.org/wiki/Changes/Switch_RPMs_to_zstd_compression
As you can see even lower levels of zstd compression (which are extremely cheap) would would dramatically reduce package size over uncompressed packages. However it is suggested that for Fedora zstd level 19 was still the correct choice since the build time would be significantly dominated by infrastructure and distribution costs.
Pros:
rpmbuild
Cons:
2 votes ·
Beta Was this translation helpful? Give feedback.
All reactions