Lower zstd compression ratio for non-sealed leafs
- 主要语言
- Rust
- 星标
- 42
- 派生
- 6
- PR 合并指标
- 30 天内没有已合并 PR
描述
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.
贡献指南
这个仓库没有索引到贡献指南
调研方向
The issue names no files or tests. Start by locating where zstd compression levels are selected for sealed and non-sealed branches, then measure the effect on write speed and compression. Done means a clearly defined, measured approach for using a lower level on non-sealed branches.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- rust
- 领域
- performance
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 30/100