News for hackers. Stuff that matters.
Re:Back to basics: Why we chose long-polling over websockets by profmonocle on Sunday January 05, 2025 @07:34PM (#42606353)
And it's worth noting that you can't just ignore this problem if you're using websockets - websockets disconnect sometimes for a variety of reasons. It may be less frequent than a long-polling timeout, but if you don't have some mechanism of detecting that messages weren't ack'd and retransmitting them the next time the user connects, messages will get lost eventually.

There are no comments on this comment yet.