You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Eddie Epstein (JIRA)" <ui...@incubator.apache.org> on 2008/09/11 22:03:44 UTC

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

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


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.


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

Posted by "Jerry Cwiklik (JIRA)" <ui...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-1173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jerry Cwiklik closed UIMA-1173.
-------------------------------

    Resolution: Fixed

> 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.


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

Posted by "Marshall Schor (JIRA)" <ui...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-1173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marshall Schor updated UIMA-1173:
---------------------------------

    Fix Version/s: 2.3AS

> 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
>             Fix For: 2.3AS
>
>         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.


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

Posted by "Jerry Cwiklik (JIRA)" <ui...@incubator.apache.org>.
     [ 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.