ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Boisvert (JIRA)" <j...@apache.org>
Subject [jira] Commented: (ODE-444) Improve performance of InstanceManagement
Date Tue, 02 Dec 2008 00:13:44 GMT

    [ https://issues.apache.org/jira/browse/ODE-444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652213#action_12652213

Alex Boisvert commented on ODE-444:

I'm also deprecating both listAllInstances() and listAllInstancesWithLimit() and planning
to remove them in 2.0 since they provide no added value over listInstancesSummary(filter,
order, limit)

> Improve performance of InstanceManagement
> -----------------------------------------
>                 Key: ODE-444
>                 URL: https://issues.apache.org/jira/browse/ODE-444
>             Project: ODE
>          Issue Type: Task
>          Components: Management Console
>            Reporter: Alex Boisvert
>             Fix For: 1.3
> There are some performance issues with the current InstanceManagement.listXXXInstances()
operations, notably:
> 1) listAllInstances() is quite dangerous -- it will run into OutOfMemoryException if
you have lots of instances
> 2) listAllInstancesWithLimit() is better but suffers performance-wise because it attempts
to load the instance summary data, the events, the scopes and properties of the matching instances.
 This result is too much database activity for the common case, moreover the current implementation
is horrific because it actually performs 4 joins for each instance!
> So I'm introducing listInstancesSummary(String filter, String order, int limit) that
only loads the instance summary and the properties in only 3 joins (total, not per instance)
to address these performance issues and making both listAllInstances() and listAllInstancesWithLimit()
use this method under the cover.

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

View raw message