Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
wenbo
· 4y ago · 0 comments
I see that you worked on Firebase's Realtime database back in the day. How did your team handle such cases?
Comments
[–]
tlarkworthy
4y ago
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
[–]
wenbo
OP
4y ago
Thanks, will take a look at your article!
[–]
tlarkworthy
4y ago
I guess more important is that firebase transmits the current state of the database every reconnection