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

Improve performance #66

Draft
wants to merge 77 commits into
base: main
Choose a base branch
from
Draft

Improve performance #66

wants to merge 77 commits into from

Conversation

RalfHammer
Copy link
Contributor

@RalfHammer RalfHammer commented Oct 9, 2024

Precondition:
This PR is based on PR-59 (#59) which should be merged first.

Refactoring:

  • Large Reconcile methods in all three controllers are split into three methods each
    (Reconcile, handleCreateOrUpdate and handleDelete)
  • Space Controller: Expensive call to find dependent service instances is moved to deletion case where it is used
    This speeds up the normal creation/update cases
  • Service Instance Controller: Expensive call to find dependent service bindings is moved to deletion case where it is used
    This speeds up the normal creation/update cases
  • Reduce number of used goroutine (remove WaitGroups from populate methods)

santiago-ventura and others added 30 commits August 12, 2024 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants