3 ms·
> Avoid network polling to obtain periodic updates from a server. Use WebSockets or Fetch with a persistent connection, instead of polling. Oh the irony. Apple
by vdnkh 7y ago
> Avoid network polling to obtain periodic updates from a server. Use WebSockets or Fetch with a persistent connection, instead of polling.
Oh the irony. Apple’s new low-latency streaming spec is based around polling the server multiple times per second, for the entire duration of a live stream. The FOSS version of low-latency HTTP streaming is based on chunked-transfer encoding via a...persistent fetch connection. Despite chunked-transfer low-latency steaming being widely deployed in production for the past few years (Twitch, Periscope use this), they didn’t think it was the right solution. I wonder what the WebKit team thinks of this.
- deleted 7y ago[deleted]