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

For Data Compression use ZTSD instead of gzip #162

Open
aoifefitton opened this issue Nov 1, 2022 · 1 comment
Open

For Data Compression use ZTSD instead of gzip #162

aoifefitton opened this issue Nov 1, 2022 · 1 comment
Assignees
Labels
proposed pattern An idea for a new pattern to submit

Comments

@aoifefitton
Copy link

Describe the pattern you'd like to propose
Compressing and decompressing files creates overheads in time and energy usage. It takes time/energy to compress the file, send it and uncompress it.

Replacing gzip with ZSTD offers a reduction in compression size and compression timing. See numerical compression results in referenced blog post.

Describe specific emission impact from this pattern
Regarding SCI = ((E *I) * M) per R, parameter E will decline were gzip replaced with ztsd - quicker compression/decompression times and quicker transmission over a network (due to smaller file size) will result in less E consumed by the software.

References to this pattern
See blog post: https://lemire.me/blog/2021/06/30/compressing-json-gzip-vs-zstd/

Additional context
Similar issue: vitejs/vite#5295

@aoifefitton aoifefitton added the proposed pattern An idea for a new pattern to submit label Nov 1, 2022
@aoifefitton
Copy link
Author

Proposing new title "Use Alternative Data Compression Tools to gzip"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposed pattern An idea for a new pattern to submit
Projects
Status: No status
Development

No branches or pull requests

3 participants