Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-5960

UIMA-DUCC: Modify pull service to synchronize threads

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-Ducc
    • DUCC
    • None

    Description

      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. 

      Attachments

        Activity

          People

            cwiklik Jaroslaw Cwiklik
            cwiklik Jaroslaw Cwiklik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: