3 ms·
I see that you worked on Firebase's Realtime database back in the day. How did your team handle such cases?
by wenbo 4y ago
I see that you worked on Firebase's Realtime database back in the day. How did your team handle such cases?
- tlarkworthy 4y agoqueues 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 https://observablehq.com/@tomlarkworthy/redis-backend-1
- wenbo 4y agoThanks, will take a look at your article!
- tlarkworthy 4y agoI guess more important is that firebase transmits the current state of the database every reconnection