Hacker News new | ask | show | jobs
by wenbo 1405 days ago
I see that you worked on Firebase's Realtime database back in the day. How did your team handle such cases?
1 comments

queues either end. Clients are given a session ID, server (and client) replays missing messages on reconnect. It's the only way to achieve causal consistency, which is what you need for a sane programming model

https://observablehq.com/@tomlarkworthy/redis-backend-1

Thanks, will take a look at your article!
I guess more important is that firebase transmits the current state of the database every reconnection