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

Add gRPC server recv buffer pool option #510

Merged
merged 3 commits into from
Mar 27, 2024

Conversation

na--
Copy link
Member

@na-- na-- commented Mar 27, 2024

What this PR does:

This PR builds on top of #507 and adds a dedicated option for enabling gRPC RecvBufferPool.

That's an experimental gRPC feature, so I decided to add it in a separate PR, given that individual users of dskit can enable it locally by manually adding it to Cfg.Server.GRPCOptions. However, #507 is necessary even for that, because it prevents anyone from using the feature due to this limitation:

Note: The shared buffer pool feature will not be active if any of the following options are used: StatsHandler, EnableTracing, or binary logging. In such cases, the shared buffer pool will be ignored.

Checklist

  • Tests updated
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@na-- na-- changed the title Aadd gRPC server recv buffer pool option Add gRPC server recv buffer pool option Mar 27, 2024
server/server.go Outdated Show resolved Hide resolved
server/server.go Outdated Show resolved Hide resolved
Copy link
Contributor

@slim-bean slim-bean left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Base automatically changed from ned/add-option-to-disable-grpc-sever-stats-tracking to main March 27, 2024 15:28
@na-- na-- force-pushed the ned/add-grpc-recv-buffer-pool-option branch from 1c89a95 to 64cd5f3 Compare March 27, 2024 15:37
@na-- na-- enabled auto-merge (squash) March 27, 2024 15:42
@na-- na-- merged commit 7bd314b into main Mar 27, 2024
3 checks passed
@na-- na-- deleted the ned/add-grpc-recv-buffer-pool-option branch March 27, 2024 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants