News for hackers. Stuff that matters.
Re:Ask HN: What was your most humbling learning moment? by dehrmann on Monday June 03, 2024 @12:55PM (#40564590)
Sounds like polling. On an inactive connection, whatever it is, you have to always be polling to see if the connection is still alive.
Re:Ask HN: What was your most humbling learning moment? by mdavid626 on Tuesday June 04, 2024 @09:17AM (#40574288)
What do you mean? The client knows when the websocket connection goes down and just reconnects. How is this polling?
Re:Ask HN: What was your most humbling learning moment? by malkosta on Thursday June 06, 2024 @09:26PM (#40604413)
Because it always needs some sort of keep alive, which is many times hidden inside the client/web framework
Re:Ask HN: What was your most humbling learning moment? by mdavid626 on Friday June 07, 2024 @07:25AM (#40607527)
But isn't a keep alive bit better than a "full" polling?