The Dual-Write Problem in SpiceDB: A Dee...
# spicedb
m
I read the article https://authzed.com/blog/the-dual-write-problem-in-spicedb-a-deep-dive-from-google-and-canva-experience and saw that you mention 4 recommended methods for solving a race condition. When spicedb only contains the permissions and the central db does not contain the permissions, the sync methods are irrelevant. Is referring to spice as a db that is responsible for saving the information without it also being in the central db incorrect? What is the alternative to handling a race condition if I am not interested in the fifo in outbox method?
y
we've got some additional information on the problem in a different blog post: https://authzed.com/blog/the-dual-write-problem
you can jump down to "out of band consistency checking" on the right-side header list
m
ok thanks alot
y
also this is maybe pedantic but it's not a race condition you're solving for - it's that you can't be sure that you get transactional behavior across two different services unless you have some additional mechanism in place
6 Views