[ 
https://issues.apache.org/jira/browse/RAVE-838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13487762#comment-13487762
 ] 

Matt Franklin commented on RAVE-838:
------------------------------------

IMO, I think the caching is the last thing we need to do at the moment.  If we 
modify the code per above, 4 (I missed one earlier) requests will simply become 
1 as the widget repository will only be called to make the object available to 
the context.  

As for the time it takes to get a widget out of the database, 1.75 seconds to 
map an object out of the H2 database is extremely slow and definitely warrants 
a deep look. 

Unless anyone objects, I will refactor the code so that widget repository is 
called only 1 time per widget.
                
> Performance problems after model-split merge
> --------------------------------------------
>
>                 Key: RAVE-838
>                 URL: https://issues.apache.org/jira/browse/RAVE-838
>             Project: Rave
>          Issue Type: Bug
>    Affects Versions: 0.17
>            Reporter: Chris Geer
>            Assignee: Chris Geer
>             Fix For: 0.17
>
>
>  - WidgetServer/Repository.get is being called much more frequently with the 
> RegionWidget/Widget split.

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

Reply via email to