Hi, we are currently using SpiceDB Serverless. We...
# spicedb
m
Hi, we are currently using SpiceDB Serverless. We can see that there is some delay of a couple of 100s milliseconds between a WriteRelationshipsRequest and the subsequent CheckPermissionRequest. The CheckPermissionRequest only returns the correct answer after about 300 to 400ms. Not immediately after the completion of the WriteRelationshipsRequest. I couldn't directly find something in the documentation which explains these delays and what causes them. But I would have expected the permission to be available as soon as the write request completed. So I'm wondering whether I'm doing something wrong. fyi... I'm using the Authzed NodeJS SDK.