Project

General

Profile

Bug #17718

Red hat repositories is too slow

Added by Daniel Lobato Garcia over 4 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1405571
Description of problem:

Both listing repos and clicking on each repo is a very slow operation. From what I saw, it asks for all available data in candlepin about each product/subscription.
This is incredibly big to parse and to transfer at times. Candlepin provides an API to request only the necessary fields. Therefore we should use that.

Version:
How reproducible:
Always

Steps to Reproduce:
1. Go to red hat repositories
2. Wait a lot of time even if you have few repos. See the calls to candlepin API requesting all available info
3. Click on any repo. Wait a lot of time for that info.

Expected results:

It should just request the necessary data which would make the loading time much faster.

Associated revisions

Revision 3611988b (diff)
Added by Daniel Lobato Garcia over 4 years ago

Fixes #17718 - Improve speed when clicking on RH repos

This commits improves the speed for both listing and clicking on
repositories on the Red Hat Repositories page. It does that by asking
the Candlepin API for just enough information to do every operation,
versus the current approach of fetching everything

History

#1 Updated by The Foreman Bot over 4 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Daniel Lobato Garcia
  • Pull request https://github.com/Katello/katello/pull/6501 added

#2 Updated by Daniel Lobato Garcia over 4 years ago

  • Target version set to 1.15.5

#3 Updated by Justin Sherrill over 4 years ago

  • Legacy Backlogs Release (now unused) set to 188

#4 Updated by Anonymous over 4 years ago

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

Also available in: Atom PDF