Skip to content

Conversation

@arcsector
Copy link
Contributor

The Git apps install is nice, but it's SLOW. If you use this on a system that is even moderately loaded, you get huge performance hits. This PR is to help optimize the install_apps loop and to take out unnecessary components. The changes at a glance are:

  • Moved cluster evaluation out of the install_apps loop
  • Moved bundle push handler via notification out of the install_apps loop
  • Created single file to call for bundle application with inferences
  • Created task files for bundle application
  • Call bundle application after loop in configure_apps

This really improves the loop functionality, as not only are bundle evals not being done inline, but this ports the bundle evals outside the loop to be reused by other plays or tasks. Having them as solely handlers is not good enough.

- Moved cluster evaluation out of the install_apps loop
- Moved bundle push out of the install_apps loop
- Created task files for bundle application
- Created single file to call for bundle application with inferences
@dtwersky dtwersky added the enhancement New feature or request label Nov 30, 2022
@nockstarr
Copy link

Im interested in this PR. Maybe also add support for local apps at the same time? PR #81

@arcsector arcsector closed this by deleting the head repository Dec 14, 2022
@arcsector arcsector reopened this Dec 14, 2022
@arcsector
Copy link
Contributor Author

Sorry this closed - I had to re-fork the repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants