authzed / spicedb

Open Source, Google Zanzibar-inspired permissions database to enable fine-grained authorization for customer applications
https://authzed.com/docs
Apache License 2.0
4.72k stars 251 forks source link

Switch spanner datastore to use the built-in stats table for estimating rel count #1892

Closed josephschorr closed 1 month ago

josephschorr commented 1 month ago

While this will be far less accurate of an estimate, it removes the need to write to a stats table on every write and delete, which should help with performance

josephschorr commented 1 month ago

Updated