-
Hey everyone 👋 Apologies if I missed this in the docs or an RFC, but in Section 2.2 of the Zanzibar paper, the authors describe the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi @dblclik No, OpenFGA does not support zookies. The current OpenFGA implementation does not have a cache, so it is strongly consistent. We'll be adding a cache in the future, and initially we'll support strongly consistent reads + eventually consistent reads, but not "bounded staleness" which is what zookies support. Do you have a use case were you'd want to use them? |
Beta Was this translation helpful? Give feedback.
-
Not having Zookies was one of the decisions we made early on for OpenFGA. TLDR:
Note that our decision is not final. We (and the industry) are still learning and building. In case we saw a need in the future, we would revisit our decision. As @aaguiarz mentioned, when we add a cache for OpenFGA we might add an option to bypass the cache if you need to and go directly to the database (note: that is still not strongly consistent unless you use a single database, and even then not guaranteed). You can also read this article in which Abishek Parmar, one of the co-creators of Zanzibar, talks about why they left Zookies out when they built a Zanzibar implementation at AirBnB called Himeji. The article is worth reading, but the most relevant section for Zookies is:
|
Beta Was this translation helpful? Give feedback.
Hi @dblclik
No, OpenFGA does not support zookies.
The current OpenFGA implementation does not have a cache, so it is strongly consistent.
We'll be adding a cache in the future, and initially we'll support strongly consistent reads + eventually consistent reads, but not "bounded staleness" which is what zookies support.
Do you have a use case were you'd want to use them?