Project

General

Profile

Bug #31679

Actions that load the Rails stack are slow

Added by Eric Helms about 2 years ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Rake tasks
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

The start up time of any service (e.g. foreman, dynflow) or action (foreman-rake) has gotten slower increasing the runtime for service restarts or installations. This bug aims to tackle this at the Foreman core level, looking at optimizations that can be made with the loading of the Rails stack.


Related issues

Related to Foreman - Bug #31717: FastGettext initialization is slowClosed
Related to Foreman - Bug #31715: Print debugging timing information for initializerClosed

History

#1 Updated by Ewoud Kohl van Wijngaarden about 2 years ago

  • Related to Bug #31717: FastGettext initialization is slow added

#2 Updated by Lukas Zapletal about 2 years ago

  • Subject changed from Actions that load the Rails stack are slow to Actions that load the Rails stack are slow

From what I can tell from #31715 debug output, initializers do not contribute very much. Must be something else, Ruby parsing too many RB files, Rails stack, amount of dependencies we have.

More discussion: https://community.theforeman.org/t/improving-rails-boot-time/22103

#3 Updated by Lukas Zapletal about 2 years ago

  • Related to Bug #31715: Print debugging timing information for initializer added

#4 Updated by Eric Helms 9 months ago

  • Status changed from New to Closed

Also available in: Atom PDF