Bug 824855

Summary: Strange duplicated requests in gadget rendering
Product: [JBoss] JBoss Enterprise Portal Platform 5 Reporter: hfnukal <hfnukal>
Component: PortalAssignee: Nobody <nobody>
Status: VERIFIED --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.2.2.ER01CC: epp-bugs, mvecera
Target Milestone: ---   
Target Release: 5.2.2.ER01   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
It was discovered that certain gadgets on the dashboard were sending more requests then necessary. The unnecessary requests caused a performance impact on page loading times. The fix implements changes to how gadgets are rendered. Each gadget is rendered individually, and only loads necessary data which fixes the performance issue.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description hfnukal@redhat.com 2012-05-24 13:00:09 UTC

Comment 1 hfnukal@redhat.com 2012-05-24 13:06:17 UTC
There are strange duplicated requests ( to get HTML of gadgets ) in the case of having more than one gadget in the page.

For instance, if I added 3 gadgets to Dashboard, there will be 6 requests ( see the attached files )

This seems to very impact to the performance in the case of having many gadgets in a page ( like PLF )

Comment 2 hfnukal@redhat.com 2012-06-07 15:30:41 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
C: Gadgets on dashboard sends more requests then necessary.
C: Performance impact on page loading.
R: Load only necessary data.
F: Each gadget is rendered individually.

Comment 3 Michal Vanco 2012-07-13 09:50:41 UTC
Kien/Honza, can you please update the Jira/BZ with more details and mentioned files?
I have no clue what you mean by strange requests, we will verify then as well. Thank you

Comment 4 Michal Vanco 2012-07-30 12:04:15 UTC
Duplicated and incorrect resources are not present anymore at 5.2.2 ER03

Comment 5 Jared MORGAN 2012-08-21 02:03:18 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1,4 +1 @@
-C: Gadgets on dashboard sends more requests then necessary.
+It was discovered that certain gadgets on the dashboard were sending more requests then necessary. The unnecessary requests caused a performance impact on page loading times. The fix implements changes to how gadgets are rendered. Each gadget is rendered individually, and only loads necessary data which fixes the performance issue.-C: Performance impact on page loading.
-R: Load only necessary data.
-F: Each gadget is rendered individually.