Bug 1788704 - Performance: OLM icons take too long to load, blocking later pages
Summary: Performance: OLM icons take too long to load, blocking later pages
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.3.0
Assignee: Samuel Padgett
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks: 1788705
TreeView+ depends on / blocked
 
Reported: 2020-01-07 21:00 UTC by Samuel Padgett
Modified: 2020-01-23 11:20 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1788705 (view as bug list)
Environment:
Version: 4.4.0-0.ci-2020-01-06-112112 Cluster ID: 59267127-c40a-4dc7-8b7c-b9148db6ce39 Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0
Last Closed: 2020-01-23 11:20:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 3293 0 None None None 2020-01-07 21:05:32 UTC
Red Hat Product Errata RHBA-2020:0062 0 None None None 2020-01-23 11:20:31 UTC

Description Samuel Padgett 2020-01-07 21:00:25 UTC
The OperatorHub subscribe flow is blocked until all images from the catalog load. Since we do code splitting, the request for the JS chunk for the next page is blocked because of the pending image requests. This has also caused timeouts in our OLM integration tests in CI.

Comment 1 Samuel Padgett 2020-01-07 21:05:32 UTC
The fix we made was to lazy load the icons as the user scrolls. Only the icons visible on the page (and some a bit below the fold) are loaded.

Comment 3 Yanping Zhang 2020-01-08 06:25:48 UTC
Checked on OCP 4.3 env with payload 4.3.0-0.nightly-2020-01-07-212456, open OperatorHub page, after about 4 seconds, items are loaded, and when user scrolls down the page, could see item and choose item smoothly. The performance has been enhanced.

Comment 5 errata-xmlrpc 2020-01-23 11:20:00 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-2020:0062


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