Bug 1330749 - sync status page very slow
Summary: sync status page very slow
Keywords:
Status: CLOSED DUPLICATE of bug 1163740
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Performance
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified vote
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-26 21:02 UTC by Chris Duryee
Modified: 2016-05-27 16:33 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-27 16:27:11 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 14088 0 None None None 2016-04-26 21:02:33 UTC

Description Chris Duryee 2016-04-26 21:02:33 UTC
Description of problem:

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.

NOTE: this is a performance optimization bug for the sync status page. Ideally, there will be no change in functionality.


Version-Release number of selected component (if applicable): 6.2.0 beta

Comment 1 Marcelo Moreira de Mello 2016-05-27 16:27:11 UTC
  Closing as duplicated https://bugzilla.redhat.com/show_bug.cgi?id=1163740

*** This bug has been marked as a duplicate of bug 1163740 ***


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