Project

General

Custom queries

Profile

Actions

Bug #13993

closed

"Current Subscription Status" widget gets slower as more orgs are added

Added by Chris Duryee about 9 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Performance
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

The "current subscription status" widget on the dashboard gets extremely slow as more orgs are on the system. Specifically:

https://github.com/Katello/katello/blob/068062449b30e985695aa6071837290e4afbd3df/app/views/dashboard/_subscription_status_widget.html.erb#L5-L9

loops over all orgs to create stub objects, then populates them. This is done one per org, but there is an outer loop that loops over all orgs again, causing extreme slowness (30 sec to render with 100 orgs).

Actions #3

Updated by Chris Duryee about 9 years ago

  • Status changed from Ready For Testing to New
  • Bugzilla link set to 1313723
  • Pull request deleted (https://github.com/Katello/katello/pull/5864)

small update: there is only a single org loop, not an inner + outer. it is still way slow though as # of orgs increases:)

Actions #7

Updated by Chris Duryee about 9 years ago

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

Also available in: Atom PDF