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

自动扩缩容可行性讨论 #339

Open
qianchonghao opened this issue Oct 12, 2023 · 1 comment
Open

自动扩缩容可行性讨论 #339

qianchonghao opened this issue Oct 12, 2023 · 1 comment
Labels
question Further information is requested

Comments

@qianchonghao
Copy link

  1. 在监控模块收集线程池指标(如在两周维度的活跃度、拒绝异常、LargestPoolSize、)。
  2. 利用以上指标,设置阈值。触发阈值(上限则【一定范围内】自动扩容maxPoolSize,下限则推送消息提示冗余)
    我的问题是:这种根据监控指标自动扩缩线程池配置的特性,是否支持。如果不支持,请问是这种做法会有对应的隐患吗?
@qianchonghao qianchonghao added the question Further information is requested label Oct 12, 2023
@KamToHung
Copy link
Collaborator

  1. 拒绝数量、拒绝告警是有的,然后LargestPoolSize也有采集的。最近有新pr采集平均耗时、ops等
  2. 线程池设计中blockingQueue本身就类似扩容的机制,大小还要考虑下内存占用等

@yanhom1314 yanhom1314 changed the title question 自动扩容讨论 Oct 16, 2023
@yanhom1314 yanhom1314 changed the title 自动扩容讨论 自动扩缩容可行性讨论 Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants