Project

General

Profile

Actions

Bug #14088

open

sync status page very slow

Added by Chris Duryee about 8 years ago. Updated almost 6 years 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 #1

Updated by Eric Helms about 8 years ago

  • translation missing: en.field_release set to 86
Actions #2

Updated by Chris Duryee about 8 years ago

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

Updated by Eric Helms about 8 years ago

  • translation missing: en.field_release changed from 86 to 144
Actions #4

Updated by Chris Duryee almost 8 years ago

  • Bugzilla link set to 1330749
Actions #5

Updated by Eric Helms almost 8 years ago

  • translation missing: en.field_release changed from 144 to 168
Actions #6

Updated by Eric Helms almost 8 years ago

  • translation missing: en.field_release deleted (168)
Actions #7

Updated by Justin Sherrill over 7 years ago

  • translation missing: en.field_release set to 114
Actions

Also available in: Atom PDF