Project

General

Profile

Bug #14088

sync status page very slow

Added by Chris Duryee over 3 years ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Performance
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

The 'sync status' page gets slower as the number of products and repos grows. It appears that there are two areas that cause it to be slow.

First, https://github.com/Katello/katello/blob/master/app/controllers/katello/sync_management_controller.rb#L29 can be very slow. With 10 custom products and 7 enabled RH products, it takes about 7 seconds for that line to complete.

Secondly, a call to candlepin to fetch subscriptions is made for each RH product enabled. Each of these takes 300-400msec.

To repro, import a manifest and enable a few repos on some RH products. Sync all products to get some sync data, then view page.

History

#1 Updated by Eric Helms over 3 years ago

  • Legacy Backlogs Release (now unused) set to 86

#2 Updated by Chris Duryee over 3 years ago

  • Subject changed from get_product_info call on sync status page very slow to sync status page very slow
  • Description updated (diff)

#3 Updated by Eric Helms over 3 years ago

  • Legacy Backlogs Release (now unused) changed from 86 to 144

#4 Updated by Chris Duryee over 3 years ago

  • Bugzilla link set to 1330749

#5 Updated by Eric Helms about 3 years ago

  • Legacy Backlogs Release (now unused) changed from 144 to 168

#6 Updated by Eric Helms about 3 years ago

  • Legacy Backlogs Release (now unused) deleted (168)

#7 Updated by Justin Sherrill about 3 years ago

  • Legacy Backlogs Release (now unused) set to 114

Also available in: Atom PDF