4 ms·
With websockets, the client can immediately acknowledge receipt of a message, since the connection is bidirectional. And on a resync the server can just send ev
by thayne 2y ago
With websockets, the client can immediately acknowledge receipt of a message, since the connection is bidirectional. And on a resync the server can just send events that the client never acknowledged.
- ghusbands 2y agoThat (to quote you) means you have to keep them in the queue until the next time the client connects, which could be a very long time. To be clear, there's no real difference - in both cases you have to keep messages in some queue and potentially resend them until they've been acknowledged.