Project

General

Profile

Refactor #2232

Can we speed up loading of Host overview page.

Added by Dave Whitehouse over 6 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

I am currently seeing very slow loading of the host overview pages which I think is due to loading data for the Runtime and Resources graphs.
I do have a large amount of reports for 7 days, for example over 9000 for a host and it takes about 10 seconds to render the page.
I've dropped the puppet agent poll period from 60 seconds to 300 seconds now to reduce the number of report updates.
However it would be better if the graphs did not block the page load or we could disable the graphs in some way, even setting the default view to 1 day not 7 would help.


Related issues

Has duplicate Foreman - Bug #7259: Rendering hosts/show.html.erb very slow (40s)Duplicate2014-08-26

Associated revisions

Revision bf59cec1 (diff)
Added by Tomer Brisker almost 5 years ago

Fixes #2232 - speed up Host view via AJAX

History

#1 Updated by Brian Gupta about 5 years ago

  • Description updated (diff)

We're seeing this even when keeping only a week of reports.

#2 Updated by Tomer Brisker almost 5 years ago

  • Tracker changed from Feature to Refactor
  • Status changed from New to Assigned
  • Assignee set to Tomer Brisker

#3 Updated by The Foreman Bot almost 5 years ago

  • Status changed from Assigned to Ready For Testing
  • Target version set to 1.7.3
  • Pull request https://github.com/theforeman/foreman/pull/1769 added
  • Pull request deleted ()

#4 Updated by Dominic Cleal almost 5 years ago

  • Category set to Web Interface
  • Legacy Backlogs Release (now unused) set to 21

#5 Updated by Anonymous almost 5 years ago

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

#6 Updated by Ohad Levy over 4 years ago

  • Has duplicate Bug #7259: Rendering hosts/show.html.erb very slow (40s) added

Also available in: Atom PDF