-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[Improvement](brpc) Using a thread pool for RPC service avoiding std::mutex block brpc::bthread #16639
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
Conversation
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.
clang-tidy made some suggestions
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.
clang-tidy made some suggestions
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.
clang-tidy made some suggestions
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.
clang-tidy made some suggestions
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.
clang-tidy made some suggestions
|
clang-tidy review says "All clean, LGTM! 👍" |
|
TeamCity pipeline, clickbench performance test result: |
|
Please also update this document: |
|
clang-tidy review says "All clean, LGTM! 👍" |
resolved |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
run p0 |
3 similar comments
|
run p0 |
|
run p0 |
|
run p0 |
…:mutex block brpc::bthread (apache#16639) mainly include: - brpc service adds two types of thread pools. The number of "light" and "heavy" thread pools is different Classify the interfaces of be. Those related to data transmission are classified as heavy interfaces and others as light interfaces - Add some monitoring to the thread pool, including the queue size and the number of active threads. Use these - indicators to guide the configuration of the number of threads
…:mutex block brpc::bthread (#16639) mainly include: - brpc service adds two types of thread pools. The number of "light" and "heavy" thread pools is different Classify the interfaces of be. Those related to data transmission are classified as heavy interfaces and others as light interfaces - Add some monitoring to the thread pool, including the queue size and the number of active threads. Use these - indicators to guide the configuration of the number of threads
…ing std::mutex block brpc::bthread (apache#16639)" This reverts commit 8534abc.
…:mutex block brpc::bthread (apache#16639) mainly include: - brpc service adds two types of thread pools. The number of "light" and "heavy" thread pools is different Classify the interfaces of be. Those related to data transmission are classified as heavy interfaces and others as light interfaces - Add some monitoring to the thread pool, including the queue size and the number of active threads. Use these - indicators to guide the configuration of the number of threads
1. cherry-pick [Improvement](brpc) Using a thread pool for RPC service avoiding std::mutex block brpc::bthread (apache#16639) 2. cherry-pick [fix](brpc) solve bthread hang problem (apache#17206) 3. cherry-pick [deps](libhdfs) add official hadoop libhdfs for x86 (apache#17435)
1. cherry-pick [Improvement](brpc) Using a thread pool for RPC service avoiding std::mutex block brpc::bthread (apache#16639) 2. cherry-pick [fix](brpc) solve bthread hang problem (apache#17206) 3. cherry-pick [deps](libhdfs) add official hadoop libhdfs for x86 (apache#17435)
1. cherry-pick [Improvement](brpc) Using a thread pool for RPC service avoiding std::mutex block brpc::bthread (apache#16639) 2. cherry-pick [fix](brpc) solve bthread hang problem (apache#17206) 3. cherry-pick [deps](libhdfs) add official hadoop libhdfs for x86 (apache#17435)
1. cherry-pick [Improvement](brpc) Using a thread pool for RPC service avoiding std::mutex block brpc::bthread (apache#16639) 2. cherry-pick [fix](brpc) solve bthread hang problem (apache#17206) 3. cherry-pick [deps](libhdfs) add official hadoop libhdfs for x86 (apache#17435)
1. cherry-pick [Improvement](brpc) Using a thread pool for RPC service avoiding std::mutex block brpc::bthread (apache#16639) 2. cherry-pick [fix](brpc) solve bthread hang problem (apache#17206) 3. cherry-pick [deps](libhdfs) add official hadoop libhdfs for x86 (apache#17435)
1. cherry-pick [Improvement](brpc) Using a thread pool for RPC service avoiding std::mutex block brpc::bthread (apache#16639) 2. cherry-pick [fix](brpc) solve bthread hang problem (apache#17206) 3. cherry-pick [deps](libhdfs) add official hadoop libhdfs for x86 (apache#17435)
1. cherry-pick [Improvement](brpc) Using a thread pool for RPC service avoiding std::mutex block brpc::bthread (apache#16639) 2. cherry-pick [fix](brpc) solve bthread hang problem (apache#17206) 3. cherry-pick [deps](libhdfs) add official hadoop libhdfs for x86 (apache#17435)
1. cherry-pick [Improvement](brpc) Using a thread pool for RPC service avoiding std::mutex block brpc::bthread (apache#16639) 2. cherry-pick [fix](brpc) solve bthread hang problem (apache#17206) 3. cherry-pick [deps](libhdfs) add official hadoop libhdfs for x86 (apache#17435)
1. cherry-pick [Improvement](brpc) Using a thread pool for RPC service avoiding std::mutex block brpc::bthread (apache#16639) 2. cherry-pick [fix](brpc) solve bthread hang problem (apache#17206) 3. cherry-pick [deps](libhdfs) add official hadoop libhdfs for x86 (apache#17435)
Proposed changes
Issue Number: close #16634
Problem summary
mainly include:
主要包括
Checklist(Required)
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...