Skip to content

Evaluate multiple policies on multiple inputs #104

Discussion options

You must be logged in to vote

Hi @rotemzenity! 👋

That's an interesting question. If we are we talking about querying OPA over the REST API, compiling all the inputs into a single query would likely always be faster than sending multiple requests. If we're talking about querying OPA via the Go API, I guess it would depend, but my gut feeling is that reducing the number of queries is going to be faster still.

Could you provide an example of what such a policy and input might look like?

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@rotemzenity
Comment options

@anderseknert
Comment options

@rotemzenity
Comment options

Answer selected by rotemzenity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment