Does it still leverage the dispatch and hedging features, or is the entire request processed by the node it lands on?
symion5464
09/27/2023, 4:28 PM
does it distribute the work? I guess is the question I'm asking. would a large batch cause hot spots?
v
vroldanbet
09/27/2023, 4:29 PM
it does still work as as normal check under the hood, but also does some optimizations, particularly if you are checking different resources_ids for the same subject:permission pair
vroldanbet
09/27/2023, 4:30 PM
it turns that into a single query rather than N queries for the N resources
vroldanbet
09/27/2023, 4:30 PM
but yeah, a large batch will distribute the work, but the incoming node will have to do some extra work - fanning out all the dispatches to other nodes