Project

General

Profile

Actions

Bug #9534

closed

Slow UI (>20seconds to load page) Composite Content-view -> Adding Content Views

Added by Walden Raines about 9 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web UI
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1120765
Description of problem:
Adding content-views to composite content-view is slow. Every time I attempt to add an individual content-view to a composite content-view the UI reloads the entire list of content-views available to be added. In my environment with 100 content-views this results in a >20s load time on the UI.

Version-Release number of selected component (if applicable):
Sat 6.0.3 Beta
Build: Snap11-Compose3
RHEL 6.5 2.6.32-431.20.3
katello-1.5.0-26.el6sat.noarch
foreman-1.6.0.21-1.el6sat.noarch
candlepin-0.9.19-1.el6_5.noarch
pulp-server-2.4.0-0.23.beta.el6sat.noarch
puppet-3.6.2-1.el6sat.noarch

How reproducible:
Always

Steps to Reproduce:
1. Sat 6.0.3 with manifest uploaded, content synced, custom content synced, and content views published/promoted
2. Create Composite Content-view and navigate to Content-Views Tab -> Add (Wait for page to load) with enough content-views this page will take longer than 20 seconds to load.

Actual results:
The page takes more than 20 seconds to load.

Expected results:
I would expect the page load to take less than 20 seconds.

Additional info:
A grep against the captured foreman/production log shows:
  1. grep "CACHE" production.log -c
    707
  2. grep "SELECT" production.log -c
    1860
  3. grep "Completed" production.log
    Completed 200 OK in 23781ms (Views: 22595.7ms | ActiveRecord: 681.8ms)

^ Greater than 20 seconds to load the page and a large number of queries to load the page as well.

This problem becomes more noticeable as an individual is adding individual content-views as the page reloads each time "+ Add Content Views" is pressed

Actions #1

Updated by Eric Helms about 9 years ago

  • Target version set to 67
  • translation missing: en.field_release set to 23
  • Triaged changed from No to Yes
Actions #2

Updated by The Foreman Bot about 9 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5047 added
  • Pull request deleted ()
Actions #3

Updated by Walden Raines about 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF