Project

General

Profile

Actions

Bug #14088

open

sync status page very slow

Added by Chris Duryee about 9 years ago. Updated 8 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Performance
Target version:
-
Difficulty:
Triaged:
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.

Actions

Also available in: Atom PDF