Project

General

Profile

Bug #20584

activation key page takes 10-20 seconds to load for each batch of keys

Added by Brad Buckingham almost 5 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Activation Key
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1419126

Description of problem:

If you go to the activation key page (content -> activation keys), it can take a long time for the page to load. It looks like two calls to candlepin are made for each key, each taking about 300msec.

Ideally, the number of calls to candlepin would not scale linearly with the number of activation keys.

If the activation key page could load each "page" of data in under 5 seconds, that would be much better.

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

Steps to Reproduce:
1. create 20 or 30 activation keys
2. view AK page

Actual results: slow load time. I got 18 seconds locally but I've seen up to 45 seconds.

Expected results: 5 second load time or better

Associated revisions

Revision dd0bff77 (diff)
Added by Partha Aji almost 5 years ago

fixes #20584 - Speed up activation key index

Basically moved the expensive service level
and content overrides call to show up only
for show.json.rabl

The index call now returns everything but
those 2 attributes.. while show will return
everything

History

#1 Updated by Brad Buckingham almost 5 years ago

  • Subject changed from activation key page takes 10-20 seconds to load for each batch of keys to activation key page takes 10-20 seconds to load for each batch of keys
  • Target version set to 208

#2 Updated by Brad Buckingham almost 5 years ago

  • Assignee deleted (Eric Helms)

#3 Updated by Eric Helms almost 5 years ago

  • Legacy Backlogs Release (now unused) set to 286

#4 Updated by Partha Aji almost 5 years ago

  • Assignee set to Partha Aji

#5 Updated by Brad Buckingham almost 5 years ago

  • Target version changed from 208 to 213

#6 Updated by Eric Helms almost 5 years ago

  • Legacy Backlogs Release (now unused) changed from 286 to 295

#7 Updated by Brad Buckingham almost 5 years ago

  • Target version changed from 213 to 217

#8 Updated by The Foreman Bot almost 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6960 added

#9 Updated by Partha Aji almost 5 years ago

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

Also available in: Atom PDF