2 ms·
At FastComments we store every change as an event, which can either be pushed or polled. Clients subscribe, and poll on reconnect. Also, integrations use polli
by winrid 5y ago
At FastComments we store every change as an event, which can either be pushed or polled. Clients subscribe, and poll on reconnect.
Also, integrations use polling: https://github.com/FastComments/fastcomments-integrations/tree/main/core https://github.com/FastComments/fastcomments-integrations/tr...
The integrations work kind of like DB slave replication. They do an initial sync and then maintain state via the event stream.