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

rpc: Add config flag to enable/disable compression for replies #16525

Merged
merged 1 commit into from
Feb 8, 2024

Conversation

StephanDollberg
Copy link
Member

@StephanDollberg StephanDollberg commented Feb 7, 2024

Add a flag to allow disabling internal rpc reply compression.

Right now we unconditionally enable compression for rpc replies if they
are above the min compression size (1Kib).

In this commit we don't change the default and keep compression on but
we might change that in a follow up commit as the cpu overhead from
compressing/uncompressing larger messages has shown to be detrimental to
overall performance.

Backports Required

  • none - not a bug fix
  • none - this is a backport
  • none - issue does not exist in previous branches
  • none - papercut/not impactful enough to backport
  • v23.3.x
  • v23.2.x
  • v23.1.x

Release Notes

  • none

Add a flag to allow disabling internal rpc reply compression.

Right now we unconditionally enable compression for rpc replies if they
are above the min compression size (1Kib).

In this commit we don't change the default and keep compression on but
we might change that in a follow up commit as the cpu overhead from
compressing/uncompressing larger messages has shown to be detrimental to
overall performance.
@StephanDollberg StephanDollberg merged commit de0eb9f into dev Feb 8, 2024
18 of 20 checks passed
@StephanDollberg StephanDollberg deleted the stephan/rpc-reply-compress-flag branch February 8, 2024 17:03
@vbotbuildovich
Copy link
Collaborator

/backport v23.3.x

@StephanDollberg
Copy link
Member Author

/backport v23.2.x

@vbotbuildovich
Copy link
Collaborator

Failed to create a backport PR to v23.2.x branch. I tried:

git remote add upstream https://github.com/redpanda-data/redpanda.git
git fetch --all
git checkout -b backport-pr-16525-v23.2.x-690 remotes/upstream/v23.2.x
git cherry-pick -x 43d80d39d73ce1c377de4c9ea0da3bfa6db44458

Workflow run logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants