by austin-cheney · 2y ago · 0 comments
Every time the table changes the DB sends a message to the browser in real time. Super simple.
The only thing to worry about is load balancing socket restoration when the server recovers from an outage so it’s not overwhelmed reopening all sockets simultaneously.
As for the database side you should only be concerned with changes to a select few tables and not the entirety of data. That could also be centrally managed with a script.