Bug 1026792

Summary: Console responses are slow in case of larger domains.
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Jakub Cechacek <jcechace>
Component: Web ConsoleAssignee: Harald Pehl <hpehl>
Status: CLOSED CURRENTRELEASE QA Contact: Jakub Cechacek <jcechace>
Severity: high Docs Contact: Russell Dickenson <rdickens>
Priority: unspecified    
Version: 6.2.0CC: acavalca, brian.stansberry, crobson, erich, gbonocor, hpehl, jcechace, jkudrnac, lclayton, lthon, mcarrano, myarboro
Target Milestone: DR0Flags: gbonocor: needinfo?
Target Release: EAP 6.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 14:38:00 UTC 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 Jakub Cechacek 2013-11-05 12:48:07 UTC
Web console is unresponsive and slow in larger domains (9 hosts, approximately 80 servers). Server listing operation (e.g. browsing though topology view) seem to be a main issue, however console in general is affected. 

Requests again http api on :9990/management are a lot faster than console, thus the issue is probably in the console itself.

Comment 1 Jakub Cechacek 2013-11-05 12:48:57 UTC
This might be a significant issue for our customers, as some of them have even larger domains.

Comment 2 JBoss JIRA Server 2013-11-05 13:28:05 UTC
Harald Pehl <hpehl> made a comment on jira HAL-295

Several options here to improve the performance of the topology view:
- Dedicated operation to read the topology
- Reduce the payload to contain only those attributes which are actually displayed in the topology view
- Consider paging: Issue request only for those hosts / servers visible on the relevant page

Comment 3 JBoss JIRA Server 2013-11-05 13:28:47 UTC
Harald Pehl <hpehl> made a comment on jira HAL-295

I can think of several options to improve the performance of the topology view:
- Dedicated operation to read the topology
- Reduce the payload to contain only those attributes which are actually displayed in the topology view
- Consider paging: Issue request only for those hosts / servers visible on the relevant page

Comment 4 Catherine Robson 2013-11-05 14:48:42 UTC
Beyond a performance issue, I think this is also a usability issue when you begin to have large domains for people to be able to manage it in the current layout.  I have messaged the UXD team to see if they can help with a resolution that will meet both interaction & performance concerns.

Comment 5 JBoss JIRA Server 2013-11-06 10:31:13 UTC
Harald Pehl <hpehl> made a comment on jira HAL-295

I can think of several options to improve the performance of the topology view:
- Dedicated operation to read the topology
- Combine independent operations into one composite operation
- Reduce the payload to contain only those attributes which are actually displayed in the topology view
- Consider paging: Execute requests only for those hosts / servers visible on the relevant page

Comment 6 Harald Pehl 2013-11-07 23:49:31 UTC
Do you still have the test setup with the big topology in place? If so I can provide you with a snapshot version of the console which includes an optimized topology view.

Comment 7 JBoss JIRA Server 2013-11-08 08:13:09 UTC
Harald Pehl <hpehl> updated the status of jira HAL-295 to Coding In Progress

Comment 8 Jakub Cechacek 2013-11-08 12:40:18 UTC
Harald: We can create the environment whenever there are free machines. I will have a look on Monday when I am in the office.

Comment 10 JBoss JIRA Server 2013-11-14 11:35:56 UTC
Harald Pehl <hpehl> made a comment on jira HAL-295

Paging over the topology should use the in-memory representation of the topology, rather than reload the topology and start at another host index.

Comment 11 JBoss JIRA Server 2013-12-10 09:34:33 UTC
Harald Pehl <hpehl> updated the status of jira HAL-295 to Resolved

Comment 12 JBoss JIRA Server 2013-12-10 09:34:33 UTC
Harald Pehl <hpehl> made a comment on jira HAL-295

Closing this now as it will become part of WF 8.0.0.Final. Optimizations for reading the topology are in place. If it turns out that this is not enough, we can reopen / create a new issue targeting HAL 2.2

Comment 13 Harald Pehl 2014-01-10 13:06:00 UTC
Reading the description in [1] a back port to 6.1.1 would be very complicated. I strongly recommend to update to 6.2 which includes optimizations in the console for large domains.

[1] https://access.redhat.com/support/cases/01002475/

Comment 14 Jakub Cechacek 2014-07-03 07:49:10 UTC
This was previously verified -- seems like the issue got stuck in the process and never reached QE...

The impact of introduced optimization is noticeable.

Comment 15 Giuseppe Bonocore 2015-12-15 15:55:42 UTC
Hi there,

do we have any figure in terms of servers / HC supported in eap > 6.3 and eap 7?

which size of domain have we tested, with no impact on performance?