Hacker News new | ask | show | jobs
by rockwotj 1463 days ago
Firestore does provide global consistency, so the following quote is incorrect:

> In Cloud Firestore, the data on the client are loaded from the database at different points in time. Even if you listen for realtime updates, results from separate queries will not remain in sync. This creates consistency anomalies and bugs in your app.

Here is a link to the protocol documentation that the clients use to support it: https://github.com/googleapis/googleapis/blob/d0b394f188e8c3...

I'd link to the client implementation but it's quite involved.

There are ways to opt of of this and get stale cached data if you're offline, but you're explicitly opting in at that point

1 comments

Thanks for the pointer! I'll update the article to be more accurate!