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

feature: Use zstd compression with sled #790

Closed
wants to merge 1 commit into from

Conversation

teor2345
Copy link
Contributor

@teor2345 teor2345 commented Jul 29, 2020

Using compression could save a lot of disk space, without much impact on
CPU usage, as long as we set a low compression level.

Overrides the secp256k1 version with a later commit on their master branch,
to resolve a "cc" crate version conflict with zstd (used by sled).

Closes #776.

I'm not sure if we want to do an override, or just wait for the next secp256k1
release.

Using compression could save a lot of disk space, without much impact on
CPU usage, as long as we set a low compression level.

Overrides the secp256k1 version with a commit on their master branch, to
resolve a "cc" crate version conflict with zstd (used by sled).

Closes ZcashFoundation#776.
@teor2345 teor2345 added A-dependencies Area: Dependency file updates Poll::Ready A-rust Area: Updates to Rust code labels Jul 29, 2020
@teor2345 teor2345 self-assigned this Jul 29, 2020
@teor2345 teor2345 requested a review from a team July 29, 2020 12:48
@teor2345 teor2345 marked this pull request as draft July 29, 2020 23:46
@teor2345
Copy link
Contributor Author

teor2345 commented Jul 29, 2020

In my initial testing, sled+zstd uses 4 GB more for testnet.

I'm putting this in draft until I've checked those results.

@hdevalence
Copy link
Contributor

Per #776 (comment) I think that it would be fine to wait on this until after we settle on a data format.

@teor2345
Copy link
Contributor Author

Closing this for now, we can re-open when we have a stable on-disk format.

@teor2345 teor2345 closed this Jul 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-dependencies Area: Dependency file updates A-rust Area: Updates to Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Re-try zstd compression in sled, after the data format has stabilised
2 participants