Skip to content

[computation-governance][application-manager] optimize engine service performance#952

Open
v-kkhuang wants to merge 1 commit intoapachemasterfrom
relaese-1.9.0-manager-code-optimize
Open

[computation-governance][application-manager] optimize engine service performance#952
v-kkhuang wants to merge 1 commit intoapachemasterfrom
relaese-1.9.0-manager-code-optimize

Conversation

@v-kkhuang
Copy link

What is the purpose of the change

This PR optimizes the performance of engine create and reuse services to improve overall system efficiency.

Related issues/PRs

Related issues: none
Related pr:none

Brief change log

  • Optimize DefaultEngineAskEngineService
  • Optimize DefaultEngineCreateService
  • Optimize DefaultEngineReuseService
  • Improve AMUtils performance

Checklist

  • I have read the Contributing Guidelines on pull requests.
  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible (If not, please discuss on the Linkis mailing list first)
  • If this is a code change: I have written unit tests to fully verify the new behavior.

- 在 AMUtils 中引入复用线程池,将线程数设置为 5 来提升指标更新效率
- 修改 DefaultEngineAskEngineService 中的条件逻辑结构,优化引擎复用节点的处理流程
- 将 DefaultEngineCreateService 中的日志级别从 info 提升到 warn 并添加异常堆栈信息
- 在 DefaultEngineCreateService 和 DefaultEngineReuseService 中添加空值检查来避免 NPE
- 使用 tryCatch 包装指标更新逻辑以提高系统稳定性
- 从引擎复用过滤条件中移除节点状态解锁检查以提升复用率
@v-kkhuang v-kkhuang added the enhancement New feature or request label Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant