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

[Improvement][Server] Optimize and reduce worker group queries of database and zookeeper #5175

Closed
chengshiwen opened this issue Mar 30, 2021 · 0 comments · Fixed by #5182
Closed
Milestone

Comments

@chengshiwen
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant