uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerry Cwiklik (JIRA)" <...@uima.apache.org>
Subject [jira] [Closed] (UIMA-5960) UIMA-DUCC: Modify pull service to synchronize threads
Date Mon, 04 Feb 2019 18:38:00 GMT

     [ https://issues.apache.org/jira/browse/UIMA-5960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Jerry Cwiklik closed UIMA-5960.
    Resolution: Fixed

Client no longer waits if its out of tasks. The waiting has been moved to service

> UIMA-DUCC: Modify pull service to synchronize threads 
> ------------------------------------------------------
>                 Key: UIMA-5960
>                 URL: https://issues.apache.org/jira/browse/UIMA-5960
>             Project: UIMA
>          Issue Type: Bug
>          Components: DUCC
>            Reporter: Jerry Cwiklik
>            Assignee: Jerry Cwiklik
>            Priority: Major
>             Fix For: 3.0.0-Ducc
> Pull service is not polling for tasks correctly. Currently it allows threads to send
GET requests concurrently. With many services running each with many threads the driver may
get easily overrun. 
> Instead each service should allow one GET request at a time. So there is only one thread
pulling task at a time. Other threads block until a thread receives a task. If no task is
given, a single thread will retry until a task becomes available or service is stopped. There
will be no waiting on the driver/client side. 

This message was sent by Atlassian JIRA

View raw message