You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jerry Cwiklik (JIRA)" <de...@uima.apache.org> on 2016/03/31 15:20:25 UTC

[jira] [Created] (UIMA-4881) UIMA DUCC: Optimize JP handling of no work from the JD

Jerry Cwiklik created UIMA-4881:
-----------------------------------

             Summary: UIMA DUCC: Optimize JP handling of no work from the JD
                 Key: UIMA-4881
                 URL: https://issues.apache.org/jira/browse/UIMA-4881
             Project: UIMA
          Issue Type: Improvement
            Reporter: Jerry Cwiklik
            Assignee: Jerry Cwiklik
             Fix For: 2.1.0-Ducc


When a JD returns no work, each worker JP thread sleeps for a bit and than asks JD again. At large scaleout many threads repeat this cycle causing the JD to spend a lot of time handling WI requests.
Modify the JP to use a single thread in each process to retry request for work. While a single thread repeatedly retries other threads block until:

1) Retry thread receives work item
2) JP terminates




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)