Does BulkCheck leverage SpiceDB dispatch
# spicedb
s
Does it still leverage the dispatch and hedging features, or is the entire request processed by the node it lands on?
does it distribute the work? I guess is the question I'm asking. would a large batch cause hot spots?
v
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
it turns that into a single query rather than N queries for the N resources
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
s
ah, cool. thanks