-
Notifications
You must be signed in to change notification settings - Fork 467
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
Recommend DistSender concurrency limit bump #19096
Conversation
Fixes DOC-11652 Summary of changes: - Update 'Performance Recipes' page to note that if you encounter DistSender batch throttling (`distsender.batches.async.throttled` is > 0), consider increasing the value of the `kv.dist_sender.concurrency_limit` cluster setting.
✅ Deploy Preview for cockroachdb-api-docs canceled.
|
✅ Deploy Preview for cockroachdb-interactivetutorials-docs canceled.
|
✅ Netlify Preview
To edit notification comments on pull requests, go to your Netlify site configuration. |
Hey @sean- @nhamlani101 @mwang1026 this is a quick rough draft to address https://cockroachlabs.atlassian.net/browse/DOC-11652 which was prompted by a message from @sean- IMO to get this into docs, we need to answer a couple questions/make some decisions (below list of things are also marked
|
Something like: "If
"To validate a successful result, you can increase this value until you see no new throttled requests AND no increase in tail latency (e.g. p99.999)." This does increase the amount of RAM consumption per node to handle the increased concurrency, but it's proportional to the load and an individual flow's memory consumption isn't "significant." Bad outcomes include increased tail latency or too much memory consumption with no decrease in the number of throttled requests.
Heh, good to know, and yes agreed about making it public. |
@sean- Is the
|
It's not public. Also, we decided to not backport the change per discussion in: cockroachdb/cockroach#131535 (comment) |
fyi gonna work on this later today trying to hit v24.3 release with this but it's like the last prio behind core relicensing and roadmap stuff however i am planning to get it in, just wanted to say why i haven't replied yet should be on it this afternoon |
i lied, this is probably gonna be a monday thing (11/18), still working on other scheduled work |
@nhamlani101 and @sean- FYI i opened an issue to at least make it public: cockroachdb/cockroach#135615 |
@sean- I made another update to try to incorporate this info as well as update with your previous inline comment |
@sean- (and @nhamlani101) another question i had was: what version(s) should we make this docs change to? based on convo it feels like these are the versions:
please advise |
I'm worried we're making a mountain out of a molehill with this change and the drag-along concerns. 😆 |
Just do it for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few suggestions for clarity
Co-authored-by: Ryan Kuo <[email protected]>
Co-authored-by: Ryan Kuo <[email protected]>
…m:cockroachdb/docs into 20241105-DOC-11652-distsender-concurrency
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just have a couple follow-up comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think the changes are reflected in the PR yet, but LGTM assuming they will be!
…m:cockroachdb/docs into 20241105-DOC-11652-distsender-concurrency
Fixes DOC-11652
Summary of changes:
distsender.batches.async.throttled
is > 0), consider increasing the value of thekv.dist_sender.concurrency_limit
cluster setting.