Project

General

Profile

Bug #14088

Updated by Chris Duryee about 8 years ago

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 the 'get_product_info' method in https://github.com/Katello/katello/blob/master/app/controllers/katello/sync_management_controller.rb#L75-L79 can be very slow. With 10 custom products and 7 enabled RH products, it takes about 7 take dozens of seconds for that line to complete. run. 

 Secondly, a call to candlepin to fetch subscriptions is made for To repro: 

  * create ten products, each RH product enabled. Each of these takes 300-400msec. 

 To repro, import a manifest and enable a few with ten repos on 
  * view "Sync status" page 
  * make some RH products. Sync all products to get some sync data, then view page. coffee ;)

Back