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

feat: introduce metrics/logs of when pipelining is being throttled #4000

Merged
merged 2 commits into from
Oct 28, 2024
Merged

Conversation

romange
Copy link
Collaborator

@romange romange commented Oct 26, 2024

Fixes #3999 following up on discussion at #3997.

@romange romange requested a review from adiholden October 26, 2024 16:56
@@ -55,6 +55,10 @@ ABSL_FLAG(uint64_t, request_cache_limit, 64_MB,
ABSL_FLAG(uint64_t, pipeline_buffer_limit, 8_MB,
"Amount of memory to use for parsing pipeline requests - per IO thread.");

ABSL_FLAG(uint32_t, pipeline_queue_limit, 1000,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

just moved it here to be togheter with pipeline_buffer_limit

Fixes #3999 following up on discussion at #3997.

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
@@ -52,8 +52,18 @@ ABSL_FLAG(string, admin_bind, "",
ABSL_FLAG(uint64_t, request_cache_limit, 64_MB,
"Amount of memory to use for request cache in bytes - per IO thread.");

ABSL_FLAG(uint64_t, pipeline_buffer_limit, 8_MB,
"Amount of memory to use for parsing pipeline requests - per IO thread.");
ABSL_FLAG(uint64_t, pipeline_buffer_limit, 128_MB,
Copy link
Collaborator

Choose a reason for hiding this comment

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

please make flag pipeline_buffer_limit mutable

@romange romange requested a review from adiholden October 27, 2024 10:07
@romange romange merged commit b0d52c6 into main Oct 28, 2024
12 checks passed
@romange romange deleted the Pr1 branch October 28, 2024 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants