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

Jerry Cwiklik updated UIMA-1125:
--------------------------------

    Attachment: uimaj-as-core-UIMA-1125-patch.txt

Fixed synchronization in UIMA-AS when de-serializing CASes. Synchronization is 
only applied when merging CASes in parallel step. And only for secondary CASes. 
In all other cases, the deserialization is not synchronized allowing more than 
one thread to deserialize different CASes at the same time.

> Modify UIMA-AS synchronization when deserializing CASes
> -------------------------------------------------------
>
>                 Key: UIMA-1125
>                 URL: https://issues.apache.org/jira/browse/UIMA-1125
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>            Reporter: Jerry Cwiklik
>         Attachments: uimaj-as-core-UIMA-1125-patch.txt
>
>
> The de-serialization of CASes is currently synchronized in the uima-as code. 
> This creates a bottleneck when multiple listeners threads are used, 
> effectively creating a processing funnel. This is especially true for 
> aggregates which do little processing and spent most time de-serializing and 
> serializing CASes. The synchronization needs only be applied while merging 
> secondary CASes. In all other cases, synchronization around deserialization 
> should not be used.

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

Reply via email to