Y
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
tlarkworthy
1405 days 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
link
wenbo
1405 days ago
Thanks, will take a look at your article!
link
tlarkworthy
1401 days ago
I guess more important is that firebase transmits the current state of the database every reconnection
link
https://observablehq.com/@tomlarkworthy/redis-backend-1