luke
03/29/2022, 7:18 PMDispatchCheck
event in the logs while making requests. seems promisingecordell
03/29/2022, 7:20 PM*_dispatch_*
to see how many of each call is dispatched, which ones are hitting the cache, etcluke
03/29/2022, 7:20 PMpastelcolors
03/30/2022, 2:25 PMcheck
SpiceDB queries.
Here, you could imagine that the webhook server talks to spicedb via grpc every time there's a query/mutation.
YSK: Hasura forwards custom request headers as well as the gql operation name and the query and its variables themselves.
Thanks!
1. https://hasura.io/docs/latest/graphql/core/auth/authentication/webhook/Jake
03/30/2022, 2:53 PMpastelcolors
03/31/2022, 5:17 AMwilliamdclt
03/31/2022, 1:48 PMspicedb-reader
which receives all check
and lookups
, and spicedb-writer
which receives all writeRelationships
and deleteRelationships
.
My goal is to avoid writes impacting read performances. Right now, I'm finding that even a low write traffic impacts read latency significantly.
Is that a crazy thing to do, can you see a problem with that approach? Can I set --datastore-readonly=true
for the reader instances, in this setup? I'm not clear on what this flag actually doesuser
03/31/2022, 4:42 PMwilliamdclt
03/31/2022, 4:46 PMderwolfe
03/31/2022, 4:47 PMuser
03/31/2022, 4:57 PMuser
03/31/2022, 4:58 PMderwolfe
03/31/2022, 5:00 PMuser
03/31/2022, 5:01 PMwilliamdclt
03/31/2022, 5:01 PMwilliamdclt
03/31/2022, 5:02 PMwilliamdclt
03/31/2022, 5:39 PMuser
03/31/2022, 5:43 PMDimitris
04/01/2022, 5:38 PMJake
04/01/2022, 5:46 PMJake
04/01/2022, 5:47 PMJake
04/01/2022, 5:47 PMDimitris
04/01/2022, 5:48 PMDimitris
04/01/2022, 5:50 PMJake
04/01/2022, 5:50 PMJake
04/01/2022, 5:50 PMDimitris
04/01/2022, 5:57 PMDimitris
04/01/2022, 6:15 PMDimitris
04/01/2022, 6:15 PM