terrakube
05/20/2024, 11:52 AMvroldanbet
05/20/2024, 12:04 PMfully-consistency
all the time.terrakube
05/20/2024, 12:31 PMat_least_as_fresh
with a zedtoken. However it didn't occur to me that the changes_through
in the watch response has zedtoken but this token is not the product of performing a check request (where the response is cached), so that's why using the ZedToken from the watch response is probably going to like fully-consistency
as you said?terrakube
05/20/2024, 12:35 PMvroldanbet
05/20/2024, 12:47 PMWatch
response is the product of some mutation in the database side, mainly changes to the relationships stored (there is also support for changes to the schema but its not yet exposed via the API)vroldanbet
05/20/2024, 12:48 PMZedToken
returned by WriteRelationships
next to the resource that was mutated in your main database, so that the next time you go and read it, you can pick up the ZedTokenvroldanbet
05/20/2024, 12:50 PMAtLeastAsFresh
may give you stale data. The original paper refers to "bounded staleness", meaning that it may be stale data, but never data that compromises the security of your application (It guarantees it solves the so called "New Enemy Problem")vroldanbet
05/20/2024, 12:51 PMterrakube
05/20/2024, 1:21 PM