Skip to content

For Data Compression use ZTSD instead of gzip #162

Open
@aoifefitton

Description

@aoifefitton

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

Metadata

Metadata

Assignees

Labels

proposed patternAn idea for a new pattern to submit

Type

No type

Projects

Status

No status

Relationships

None yet

Development

No branches or pull requests

Issue actions