chenlinzhong opened a new pull request, #16639: URL: https://github.com/apache/doris/pull/16639
# Proposed changes Issue Number: close #16634 ## Problem summary mainly include: 1. brpc service adds two types of thread pools. The number of "light" and "heavy" thread pools is different 2. Classify the interfaces of be. Those related to data transmission are classified as heavy interfaces and others as light interfaces 3. 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.brpc服务增加2类线程池,"轻","重" 不同线程池的数量配置不一样 - 2.对be的接口进行分类,跟数据传输有关的归类为重接口,其他为轻接口 - 3.增加一些监控,包括be每个接口qps和线程池队列大小、活跃线程个数,根据这些指标来指导线程数的配置 <img width="1359" alt="image" src="https://user-images.githubusercontent.com/11487604/218252833-b0648a66-c5e3-4cbf-9930-3de5a86cfd08.png"> ## Checklist(Required) 1. Does it affect the original behavior: - [x] Yes - [ ] No - [ ] I don't know 2. Has unit tests been added: - [ ] Yes - [ ] No - [x] No Need 3. Has document been added or modified: - [ ] Yes - [x] No - [ ] No Need 4. Does it need to update dependencies: - [ ] Yes - [x] No 5. Are there any changes that cannot be rolled back: - [ ] Yes (If Yes, please explain WHY) - [x] No ## Further comments If this is a relatively large or complex change, kick off the discussion at [d...@doris.apache.org](mailto:d...@doris.apache.org) by explaining why you chose the solution you did and what alternatives you considered, etc... -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org