Bug 1727800 - [Performance] It takes very long time to redirect OperatorHub page to response user
Summary: [Performance] It takes very long time to redirect OperatorHub page to respon...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: 4.2.0
Assignee: Alec Merdler
QA Contact: Yadan Pei
URL:
Whiteboard:
: 1736817 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-08 08:24 UTC by shahan
Modified: 2019-10-16 06:33 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-16 06:33:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
idle (160.99 KB, image/png)
2019-07-08 08:24 UTC, shahan
no flags Details
it cost much time to load templates (87.31 KB, text/html)
2019-07-08 08:27 UTC, shahan
no flags Details
OperatorHub_HAR.open (2.40 MB, text/plain)
2019-07-09 03:00 UTC, shahan
no flags Details
OperatorHub_HAR_preview (143.58 KB, image/png)
2019-07-09 03:01 UTC, shahan
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 2425 0 None closed Bug 1727800: Improve OperatorHub Load Time 2020-06-15 10:53:47 UTC
Github operator-framework operator-lifecycle-manager pull 1002 0 None closed Bug 1727800: Remove Icon from `PackageManifest` Resource 2020-06-15 10:53:47 UTC
Github operator-framework operator-lifecycle-manager pull 990 0 None closed Bug 1727800: Icon Subresource for PackageManifest 2020-06-15 10:53:46 UTC
Red Hat Product Errata RHBA-2019:2922 0 None None None 2019-10-16 06:33:19 UTC

Description shahan 2019-07-08 08:24:05 UTC
Description of problem:
 To redirect Developer Catalog/ OperatorHub page take very long time to response user. From Performance tab of dev console, it shows the console was staying at idle status in most of loading time. The two pages take 30 seconds more to show contents usually.

Version-Release number of selected component (if applicable):
4.2.0-0.nightly-2019-07-03-171807
a15ac81be7f7479b1d527a28c780fd09ce123710

How reproducible:
always

Steps to Reproduce:
1.click Catalog->developer catalog page & Catalog->OperatorHub Page
2.
3.

Actual results:
The two pages take 40 seconds more even 60s to show contents usually.

Expected results:
Should show page in an acceptable time.

Additional info:
more info refer to attachments

Comment 1 shahan 2019-07-08 08:24:32 UTC
Created attachment 1588289 [details]
idle

Comment 2 shahan 2019-07-08 08:27:06 UTC
Created attachment 1588292 [details]
it cost much time to load templates

Comment 3 Samuel Padgett 2019-07-08 18:29:28 UTC
Can you open separate bugs for each page? The underlying requests are very different.

For each page, can you collect a HAR file?

1. Open Google Chrome
2. Open Developer Tools (Ctrl-Shift-I)
3. Switch to the Network tab
4. Reproduce the problem
5. Right click a row in the network tab and select "Save all as HAR with content"

I can't seem to open perf2.png for some reason. The file might be corrupted.

Comment 4 shahan 2019-07-09 03:00:09 UTC
Created attachment 1588610 [details]
OperatorHub_HAR.open

Comment 5 shahan 2019-07-09 03:01:15 UTC
Created attachment 1588611 [details]
OperatorHub_HAR_preview

Comment 6 shahan 2019-07-09 03:07:44 UTC
  I upload the original HAR file and HAR statistics preview about OperatorHub page to analyze this issue in this bug.

Comment 10 Samuel Padgett 2019-08-07 14:23:22 UTC
*** Bug 1736817 has been marked as a duplicate of this bug. ***

Comment 18 shahan 2019-08-23 06:36:07 UTC
The operatorHub page will take around 7-8s to response users. It should be in acceptable range.
Verified this bug.
quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:eb70f4a6151b3edb669db9a4928cd2b81e1ed31d7d35f937ade1183be8f4d3d9
io.openshift.build.commit.id=ac956c76e1be5fb7f48ae554d6b95e7716e6a34b

Comment 19 Jian Zhang 2019-08-26 01:56:51 UTC
Hi, Han

I think there is the same issue in 4.1, do we have a bug to trace it for 4.1?

Comment 20 shahan 2019-08-26 03:16:46 UTC
Normally, the page on 4.1 cluster takes 10s to response users, I think it is little bit slow but should be acceptable range.
cc Sam, how do you think about it?

Comment 21 errata-xmlrpc 2019-10-16 06:33:09 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:2922


Note You need to log in before you can comment on or make changes to this bug.