Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git app install changes #156

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Git app install changes #156

wants to merge 2 commits into from

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