-
Notifications
You must be signed in to change notification settings - Fork 144
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
Snapshots compression for import/export/download #2741
Comments
I like it. |
4 tasks
4 tasks
This was referenced Apr 6, 2023
@hanabi1224 Is this done? |
@lemmih updated the checkboxes, |
Done. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue summary
We could speed up things by downloading compressed snapshots. Mainnet compressed snapshots are significantly smaller (70G vs 130G), and it would make a huge difference for bandwidth-constrained users.
Task summary
We should handle both importing and exporting compressed snapshots. Compression could be on by default. This must be configurable via configuration and/or flags.
zstd
decompression functionality for importing snapshots. A potential crate to use https://crates.io/crates/zstdforest
and theforest-cli snapshot fetch
) and importing,zstd
compression functionality for exporting snapshots.forest
andforest-cli
to prefer compressed files #2873Acceptance Criteria
zstd
stream and not create a car file, compress it and then delete it.forest-cli
can download compressed snapshots (right now it's downloading uncompressed ones only)Other information and links
The text was updated successfully, but these errors were encountered: