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

feat(ingest): store translations as .tar.zst instead of .zip #49

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

corneliusroemer
Copy link
Member

In general, we should use zst over zip/gzip/xz due to faster (de)compression and also often higher compression ratios (for longer sequences).

While the default compression with .tar.zst is slightly less dense than .zip, this is tunable and with e.g. -10 we get smaller outputs

My suggestion is to use .tar.zst for a uniform API across nextstrain ingest outputs - in this case here it doesn't matter as it's just 100kB anyways.

Description of proposed changes

Related issue(s)

Checklist

  • Checks pass

In general, we should use zst over zip/gzip/xz due to faster (de)compression and also often higher compression ratios (for longer sequences).

While the default compression with .tar.zst is slightly less dense than .zip, this is tunable and with e.g. -10 we get smaller outputs

My suggestion is to use .tar.zst for a uniform API across nextstrain ingest outputs - in this case here it doesn't matter as it's just 100kB anyways.
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.

1 participant