Question about the datastore latency
# spicedb
m
Question about the datastore latency metric spicedb_datastore_query_latency_bucket
does the query relationship metric correspond to the execution of single sql command or multiple commands as part of the "querying the relationship"
v
it's the time it took for each Datastore API to be executed. It accounts for: - various Datastore API methods, and each API method may account for multiple SQL queries - there is a caching middleware installed between the measurement and the actual datastore implementation, so there may be cached responses
I've opened https://github.com/authzed/spicedb/pull/1669 since various folks have been meaning to rely on these queries to better understand the perf profile of the datastore
2 Views