We plan to use Keto in our projet, so I'm in discovery and testing mode. We need an API to have perm...
a
We plan to use Keto in our projet, so I'm in discovery and testing mode. We need an API to have permissions for our UI, so I create a slim go api on top of Keto, to build JSON payload with permissions by View or Component for our micro frontend. Work nice so far. Currently I have a really simple graph with 30 tuples for testing and the response time of the Check API in Keto is between 20 to 40ms, sounds a bit slow to me, we will have a few complex checks to do. I can use goroutine to make them as fast as possible. But just to know, are this kind of response time something "normal" for Keto or not ? We use Ory Permission Language and have 4 namespaces (Tenant, Team, Product, User) so nothing really complex, A use can be part of Tenant, Team or Product, and every level use viewers, editors and owners relations to User to take permission decisions.
m
Hello Dominique, how are you running Ory Keto? Are you through Ory Network or are you hosting it yourself? Usually Keto is as fast as your DB allows.
a
I'm running it locally on local k8s cluster, connected to postgres