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

UIMA-AS not allowing concurrent processing of CASes in async aggregate

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.4.2AS
    • Async Scaleout
    • None

    Description

      For deployments consisting of async aggregate, the uima-as does not allow concurrent processing of input CASes. In this design, the thread servicing an input queue is intentionally blocked until the input CAS is fully processed. Only than, the thread is allowed to dequeue the next CAS. This design was motivated by the desire to enforce fair load balancing where each service/process takes as many CASes as it can process without blocking waiting for a free instance of a CAS (from service CasPool). The motivation is still valid, but it looks like the implementation of the idea is wrong.

      Suggestion is to force the service thread to fetch a CAS before trying to dequeue a CAS. This design ensures that the service only takes as many CASes from a queue as it is capable of processing.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: