-
Notifications
You must be signed in to change notification settings - Fork 54
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 resolution efficiency #418
Comments
Thanks for creating this ticket.
Resolution currently relies on client in-memory cache. It is not necessary to fetch the catalog metadata multiple times during single resulotion, but it is necessary to be able to read all the bundles multiple times for filtering porpuses.
I believe in this slack thread decided to:
Then we can modify the controller so tha we instantiate the client1 with empty cache/resets cache before every resolution. With all this in place we get the following benefits:
Note:
Footnotes
|
Re: |
Instead of using the |
Something I've encountered in the The resolver does not control who mutates cluster state, and when - if any object on the cluster changes while the resolver is running, or if a new catalog is loaded, etc, subsequent calls to fetch data during a resolution run will cause an incoherent view of the world and likely always end up with a failure to satisfy constraints or similar nonsense. The |
I think this will be resolved by #501 |
It was brought up in #411 (comment) that multiple calls are made during resolution that results in bundle information being retrieved and processed multiple times.
We should see if we can optimize this by answering the following questions and making improvements as identified by the answers:
The text was updated successfully, but these errors were encountered: