11 ms·
It's been a while since I've used websockets, but at least the last time I did, "simple" wouldn't be the word I'd have used. All kinds of annoying issues betwee
by cbsmith 3y ago
It's been a while since I've used websockets, but at least the last time I did, "simple" wouldn't be the word I'd have used. All kinds of annoying issues between different browsers. SSE was generally much simpler.
- mirekrusin 3y agoMust have been time when spec wasn't stabilized and browsers have been introducing it. Those times are long gone.
- cbsmith 3y agoI don't know about long gone. I still support a websocket solution that needs to have server-push as a fallback because of browser incompatibility issues.
- apitman 3y agoDo you have some specific examples?
- cbsmith 3y agoOld Android handsets seem to be the big ones.
- mirekrusin 3y agoIt shouldn't be a problem for about a decade [0]? What's your hit rate for the fallback? [0] https://developer.mozilla.org/en-US/docs/Web/API/WebSocket https://developer.mozilla.org/en-US/docs/Web/API/WebSocket
- cbsmith 3y agoThe hit rate for fallback is pretty low. It was less than 5% the last I checked.
- mirekrusin 3y agoThis 5% includes or excludes non-human traffic?
- cbsmith 3y agoIncludes.