GitHub user jiajunwang opened a pull request:

    https://github.com/apache/helix/pull/89

    [HELIX-655] Helix per-participant concurrent task throttling

    Add per participant concurrent task throttling.
    
    1. Add a participant configuration item "MAX_CONCURRENT_TASK" for 
throttling.
       New assigned task + existing running/init task <= MAX_CONCURRENT_TASK. 
Otherwise, new assignment won't be included in best possible state.
    2. Tasks are assigned in the order of jobs' start time. Older jobs have 
higher priority than other jobs.
    3. Add test case (TestTaskThrottling.java) for testing new throttling and 
priority.
    
    Ticket:
    https://issues.apache.org/jira/browse/HELIX-655
    
    Test:
    mvn test in helix-core

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jiajunwang/helix helix-0.6.x

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/helix/pull/89.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #89
    
----
commit 1db00f63f7ef300b308fb50b7fa6651b771ba07d
Author: Jiajun Wang <jjw...@linkedin.com>
Date:   2017-05-03T07:50:49Z

    [HELIX-655] Helix per-participant concurrent task throttling
    
    Add per participant concurrent task throttling.
    
    1. Add a participant configuration item "MAX_CONCURRENT_TASK" for 
throttling.
       New assigned task + existing running/init task <= MAX_CONCURRENT_TASK. 
Otherwise, new assignment won't be included in best possible state.
    2. Tasks are assigned in the order of jobs' start time. Older jobs have 
higher priority than other jobs.
    3. Add test case (TestTaskThrottling.java) for testing new throttling and 
priority.
    
    Ticket:
    https://issues.apache.org/jira/browse/HELIX-655
    
    Test:
    mvn test in helix-core

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to