3 ms·
I've never seen websockets accomplish anything that push with long polling didn't do more effective and efficiently. I think they are a technology that missed t
by hattmall 5y ago
I've never seen websockets accomplish anything that push with long polling didn't do more effective and efficiently. I think they are a technology that missed their time, the CPU / power savings are generally non-existent and the minimal bandwidth savings are frequently negated by the need to add in redundancy and checks.
- anderspitman 5y agoIf SSE supported binary data I might agree with you. I think WebSockets have their place, but are overused. I definitely agree long polling should be implemented first and then only add WS if you've measured that you need it. You're probably going to need to implement polling anyway for clients to catch up after disconnect.