chengshiwen opened a new issue #5175:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/5175
**Describe the question**
`HostManager.select()` will call `workerGroupMapper.queryAllWorkerGroup()`
or `workerGroupMapper.queryWorkerGroupByName(workerGroupName)` from database,
and call `registryCenter.getRegisterOperator().get(workerGroupPath + "/" +
node)` from zookeeper.
They will cause more queries, even if these queries rarely change.
**What are the current deficiencies and the benefits of improvement**
- Optimize and reduce worker group queries of database and zookeeper
**Which version of DolphinScheduler:**
-[1.3.5]
-[dev]
**Describe alternatives you've considered**
A clear and concise description of any alternative improvement solutions
you've considered.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]