[Feature#3234][cluster]enhanced load balancing#3235
Merged
qiaozhanwei merged 12 commits intoapache:devfrom Aug 10, 2020
CalvinKirs:loadbalance
Merged
[Feature#3234][cluster]enhanced load balancing#3235qiaozhanwei merged 12 commits intoapache:devfrom CalvinKirs:loadbalance
qiaozhanwei merged 12 commits intoapache:devfrom
CalvinKirs:loadbalance
Conversation
weight-based load balancing algorithm this close # 3234
Codecov Report
@@ Coverage Diff @@
## dev #3235 +/- ##
============================================
+ Coverage 34.15% 35.69% +1.53%
- Complexity 2422 2576 +154
============================================
Files 443 448 +5
Lines 20637 21017 +380
Branches 2531 2572 +41
============================================
+ Hits 7049 7501 +452
+ Misses 12926 12821 -105
- Partials 662 695 +33 Continue to review full report at Codecov.
|
dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/Constants.java
Outdated
Show resolved
Hide resolved
...-server/src/main/java/org/apache/dolphinscheduler/server/worker/registry/WorkerRegistry.java
Show resolved
Hide resolved
Member
Author
|
todo:RoundRobinSelector |
Member
Author
|
done |
Member
Author
|
TBR. |
|
Kudos, SonarCloud Quality Gate passed!
|
qiaozhanwei
approved these changes
Aug 10, 2020
|
|
||
| # default worker group | ||
| #worker.group=${WORKER_GROUP} No newline at end of file | ||
| #worker.group=${WORKER_GROUP} |
Contributor
There was a problem hiding this comment.
worker.properties worker.group change to worker.groups
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
weight-based load balancing algorithm
this closes #3234
What is the purpose of the pull request
weight-based load balancing algorithm
Implementation of load balancing based on weight.
Implementation of load balancing based on workgroups.
Related mail:https://lists.apache.org/thread.html/r06af73b0897d8a0c97a16ca1b9316d5d0bc29de833f60c10ca46415a%40%3Cdev.dolphinscheduler.apache.org%3E
https://lists.apache.org/thread.html/r5a70a5f43aa49973923ef23d5b079b883cda746a14e91f9c083a985a%40%3Cdev.dolphinscheduler.apache.org%3E
this closes #3234
Verify this pull request
This pull request is already covered by existing tests, such as (please describe tests).
This change added tests and can be verified as follows: