you're talking about a `CheckPermission` call? whi...
# spicedb
y
you're talking about a
CheckPermission
call? which permission are you checking in this schema? I see reference to C but no definition for C, and i'm not sure which resource you're actually checking the permission on. there isn't a constant-time way to do what you're asking that I know of. it'd help to know more specifics about your schema - there may be a different way to model things that would improve performance. there's also a flag that increases the number of relations that will be checked simultaneously by the datastore. it defaults to 100 (iirc), and we've found that increasing it to 500-1000 improves performance for most use cases. i don't remember its name off the top of my head, so i can check that on my work computer tomorrow.
3 Views