News for hackers. Stuff that matters.
Re:WebSockets vs. Server-Sent-Events vs. Long-Polling vs. We... by EGreg on Monday March 18, 2024 @02:14PM (#39747904)
What I want to know is, on iOS can we have Web Workers running for a few hours when the browser is in the background, with setInterval communicating w the network or will they get suspended?
Re:WebSockets vs. Server-Sent-Events vs. Long-Polling vs. We... by psnehanshu on Monday March 18, 2024 @05:01PM (#39749964)
Don't assume reliability
Re:WebSockets vs. Server-Sent-Events vs. Long-Polling vs. We... by jamil7 on Tuesday March 19, 2024 @07:16AM (#39754628)
iOS apps can't really do this so I'd assume browser apps can't either. There are specific background scheduler APIs you need to go through on iOS to do this in which the OS decides when to run these tasks and you have very little control.
Re:WebSockets vs. Server-Sent-Events vs. Long-Polling vs. We... by nchmy on Tuesday March 19, 2024 @11:21AM (#39756690)
The article is from rxdb, which has various mechanisms to handle such considerations
Re:WebSockets vs. Server-Sent-Events vs. Long-Polling vs. We... by EGreg on Tuesday March 19, 2024 @09:51PM (#39762209)
Like what ?