uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerry Cwiklik (JIRA)" <...@uima.apache.org>
Subject [jira] [Closed] (UIMA-2487) Optimize UIMA-AS code that collects pipeline stats
Date Mon, 29 Oct 2012 14:24:13 GMT

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

Jerry Cwiklik closed UIMA-2487.

    Resolution: Fixed
      Assignee: Jerry Cwiklik

Refactored code to avoid serialization. Instead of serializing (deep copy), a new object is
created and initialized with values from a Management object. 
> Optimize UIMA-AS code that collects pipeline stats 
> ---------------------------------------------------
>                 Key: UIMA-2487
>                 URL: https://issues.apache.org/jira/browse/UIMA-2487
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>            Reporter: Jerry Cwiklik
>            Assignee: Jerry Cwiklik
>             Fix For: 2.4.0AS
> When collecting stats from AE Management objects the UIMA-AS needs to create a snapshot
of stats before calling AE process method. It actually does a deep copy (by serialization)
of Management objects. This snapshot is used to calculate component analysis time when the
process method completes. The problem is that the serialization is adding too much overhead
and actually is not necessary. Refactor code to avoid serialization overhead. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message