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.95k stars 266 forks source link

support read-replicas in MySQL #1321

Closed vroldanbet closed 2 months ago

vroldanbet commented 1 year ago

See https://github.com/authzed/spicedb-operator/issues/195#issuecomment-1543594303

Folks use read replicas as a means to scale read-heavy workloads. This isn't trivial due to asynchronous replication typically happening in these setups. Nevertheless, we could explore a way to detect if data has been replicated so that SpiceDB can trust the state of the replica hit for its computations.

vroldanbet commented 2 months ago

This was implemented in https://github.com/authzed/spicedb/pull/1878 and should make its way to the next release