Skip to content

OPA bundle eval performance #640

Discussion options

You must be logged in to vote

I'm afraid I can't answer why it does that, as I haven't written that integration :) But yes, there are certainly more efficient ways to do that. A common pattern to use is dynamic policy composition, where one "main policy" is called once, and that policy routes to all sub-policies applicable, and aggregates the decision from each into a final result sent back to the client. You can read more about this pattern in this blog: https://www.styra.com/blog/dynamic-policy-composition-for-opa/

Happy to answer any questions on that!

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@anderseknert
Comment options

Answer selected by jigar-hashicorp
@jigar-hashicorp
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants