apache / apache/couchdb

Add zstd support as a compression method

Open
#4,400 4 comments 1 reaction 0 assignees View on GitHub
enhancement needs-triage
Dominant language
Erlang
Stars
7k
Forks
1.1k
Avg merge
1d 16h
Merged PRs (30d)
9

Description

## Summary

Add `zstd` codec support.

## Desired Behaviour

CouchDB already supports multiple compression codecs (by the way, which exactly? Cannot find the documentation about it), so we want just to have the option to use `zstd` as another compression codec.

## Additional context

We want to use `zstd` since it seems like one of the most advanced compression on the market and has a very good CPU/compression ratio.

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by locating CouchDB’s existing compression-codec entry points and documenting which codecs are currently supported, then trace how codec selection is configured and tested. Done means zstd can be selected as a compression codec and the relevant tests cover it.

Written by the indexing model from the issue text.

Assessment

Tech stack
erlang
Domain
databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.