Actyx / Actyx/banyan

Lower zstd compression ratio for non-sealed leafs

Open
#102 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
42
Forks
6
PR merge metrics
No merged PRs in 30d

Description

zstd compression at high levels is not cheap. So it seems that it is only worth it for things that we will keep for a long time.

Non-sealed branches are usually kept around only for a short time. So it would be possible to significantly speed up write ops by just using a lower zstd level for non-sealed branches.

For leafs it is tricky, since we don't know whether a leaf will be sealed before starting to compress things. But on average you got more branches than leaves when doing an update, so doing this for branches will have most of the benefit.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.