Project

General

Profile

Actions

Bug #31679

closed

Actions that load the Rails stack are slow

Added by Eric Helms almost 4 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Rake tasks
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

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 2 (0 open2 closed)

Related to Foreman - Bug #31717: FastGettext initialization is slowClosedLukas ZapletalActions
Related to Foreman - Bug #31715: Print debugging timing information for initializerClosedLukas ZapletalActions
Actions #1

Updated by Ewoud Kohl van Wijngaarden almost 4 years ago

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

Updated by Lukas Zapletal almost 4 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

Actions #3

Updated by Lukas Zapletal almost 4 years ago

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

Updated by Eric Helms over 2 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF