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)" <ui...@incubator.apache.org> on 2009/02/02 19:44:00 UTC

[jira] Updated: (UIMA-1173) BaseUIMAAsynchronousEngine_impl.getCAS() should queue requests

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

Jerry Cwiklik updated UIMA-1173:
--------------------------------

    Attachment: uimaj-as-jms-UIMA-1173-patch.txt

Modified Uima AS client code to queue requests for a CAS. Each thread requesting a CAS will add its request to a queue. When a CAS becomes available, the oldest thread is selected from the queue and allowed to use the CAS for processing. 

> BaseUIMAAsynchronousEngine_impl.getCAS() should queue requests
> --------------------------------------------------------------
>
>                 Key: UIMA-1173
>                 URL: https://issues.apache.org/jira/browse/UIMA-1173
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Async Scaleout
>            Reporter: Eddie Epstein
>         Attachments: uimaj-as-jms-UIMA-1173-patch.txt
>
>
> BaseUIMAAsynchronousEngine_impl.getCAS() blocks until a CAS is available. 
> If multiple threads are blocked, which one gets the next CAS is nondeterministic.
> In order to guarantee quality of service it is important to return CASes in the order
> they were requested.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.