I imagine we could change the isolation when talki...
# spicedb
w
> I imagine we could change the isolation when talking to a read replica, but SpiceDB currently has no concept of that I haven't deeply thought about it, but: - Do we actually need
SERIALIZABLE
level? SpiceDB wasn't using it until 1.8.0 - We could set
SERIALIZABLE
for write requests (eg
writeRelationships
), and
REPEATABLE_READ
for read requests?
REPEATABLE_READ
should always be enough for readonly requests, if I'm not mistaken > Would you be interested in potentially formalizing the read replica support in SpiceDB, such that it picks the read replica if consistency allows for it? I would be interested, but I'm worried about not being able to allocate time to that 😅 What do you have in mind, some sort of design document describing read replica support in SpiceDB-with-Postgres?
5 Views