-
Notifications
You must be signed in to change notification settings - Fork 195
Execute prepare data plugins in topological order of data dependencies #1878
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
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for gateway-api-inference-extension ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Hi @rahulgurnani. Thanks for your PR. I'm waiting for a github.com member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
c80d0d3 to
78783dc
Compare
…ata dependency cycles on startup.
83ba4aa to
02dfa48
Compare
|
/assign @kfswain |
|
/ok-to-test |
|
have we validated the added value of running in parallel versus sequentially in terms of time/performance measurements? obviously running in parallel is faster but it’s also more complex to write, review and maintain the code. if we make our codebase more complex (which is fine in many cases!), I suggest we validate the added value and make a data driven decision. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: rahulgurnani The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
I agree we need to benchmark/scale test to see the value add, I plan to scale test when I am migrating prefix cache and predictor plugins. I can make it sequential in this PR if that sounds better. Let me know. |
yeah, IMO we should start simple (in general, that's always my preferred approach). @kfswain please chime in if you think differently. |
Updated the PR based on the suggestion. I did a topological sort because that would be the order in which we would want the plugins to execute. Also updated tests. PTAL. Thanks! |
What type of PR is this?
/kind feature
What this PR does / why we need it:
This PR makes execution of prepare data plugins in the order of dependencies. Dependency cycles are also validated at the startup. Failure of any prepare data plugin results is returned. Presently these plugins are fail open i.e. any failure in this step is logged but the request execution continues.
Which issue(s) this PR fixes:
Fixes #1743
Does this PR introduce a user-facing change?:
NONE