MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/c08mss/websockets_vs_long_polling/er3jxoc/?context=9999
r/programming • u/therealgillbates • Jun 13 '19
199 comments sorted by
View all comments
425
[removed] — view removed comment
274 u/sysop073 Jun 13 '19 Go figure, since they were basically invented to eliminate the need for polling 60 u/hashtagframework Jun 13 '19 Go figure, my web host doesn't support WebSockets in the auto-scale configuration I use, but Long Polling still works fine. 119 u/saltybandana2 Jun 13 '19 the only reason you would use long polling is being unable to use websockets in a reasonable manner. 13 u/hashtagframework Jun 13 '19 Do you always have to support a long polling backup in case the client can't use websockets? 0 u/[deleted] Jun 13 '19 [deleted] 1 u/Doctor_McKay Jun 13 '19 Any modern browser, even on mobile, supports websockets. So if you know your setup supports it then no need to support polling.A lot of people don't really know this. Chances are, if a client can handle your CSS then they have support for WebSockets. 3 u/JokerSp3 Jun 13 '19 Some of our customers are behind corp proxys that block websockets :(
274
Go figure, since they were basically invented to eliminate the need for polling
60 u/hashtagframework Jun 13 '19 Go figure, my web host doesn't support WebSockets in the auto-scale configuration I use, but Long Polling still works fine. 119 u/saltybandana2 Jun 13 '19 the only reason you would use long polling is being unable to use websockets in a reasonable manner. 13 u/hashtagframework Jun 13 '19 Do you always have to support a long polling backup in case the client can't use websockets? 0 u/[deleted] Jun 13 '19 [deleted] 1 u/Doctor_McKay Jun 13 '19 Any modern browser, even on mobile, supports websockets. So if you know your setup supports it then no need to support polling.A lot of people don't really know this. Chances are, if a client can handle your CSS then they have support for WebSockets. 3 u/JokerSp3 Jun 13 '19 Some of our customers are behind corp proxys that block websockets :(
60
Go figure, my web host doesn't support WebSockets in the auto-scale configuration I use, but Long Polling still works fine.
119 u/saltybandana2 Jun 13 '19 the only reason you would use long polling is being unable to use websockets in a reasonable manner. 13 u/hashtagframework Jun 13 '19 Do you always have to support a long polling backup in case the client can't use websockets? 0 u/[deleted] Jun 13 '19 [deleted] 1 u/Doctor_McKay Jun 13 '19 Any modern browser, even on mobile, supports websockets. So if you know your setup supports it then no need to support polling.A lot of people don't really know this. Chances are, if a client can handle your CSS then they have support for WebSockets. 3 u/JokerSp3 Jun 13 '19 Some of our customers are behind corp proxys that block websockets :(
119
the only reason you would use long polling is being unable to use websockets in a reasonable manner.
13 u/hashtagframework Jun 13 '19 Do you always have to support a long polling backup in case the client can't use websockets? 0 u/[deleted] Jun 13 '19 [deleted] 1 u/Doctor_McKay Jun 13 '19 Any modern browser, even on mobile, supports websockets. So if you know your setup supports it then no need to support polling.A lot of people don't really know this. Chances are, if a client can handle your CSS then they have support for WebSockets. 3 u/JokerSp3 Jun 13 '19 Some of our customers are behind corp proxys that block websockets :(
13
Do you always have to support a long polling backup in case the client can't use websockets?
0 u/[deleted] Jun 13 '19 [deleted] 1 u/Doctor_McKay Jun 13 '19 Any modern browser, even on mobile, supports websockets. So if you know your setup supports it then no need to support polling.A lot of people don't really know this. Chances are, if a client can handle your CSS then they have support for WebSockets. 3 u/JokerSp3 Jun 13 '19 Some of our customers are behind corp proxys that block websockets :(
0
[deleted]
1 u/Doctor_McKay Jun 13 '19 Any modern browser, even on mobile, supports websockets. So if you know your setup supports it then no need to support polling.A lot of people don't really know this. Chances are, if a client can handle your CSS then they have support for WebSockets. 3 u/JokerSp3 Jun 13 '19 Some of our customers are behind corp proxys that block websockets :(
1
Any modern browser, even on mobile, supports websockets. So if you know your setup supports it then no need to support polling.
A lot of people don't really know this. Chances are, if a client can handle your CSS then they have support for WebSockets.
3 u/JokerSp3 Jun 13 '19 Some of our customers are behind corp proxys that block websockets :(
3
Some of our customers are behind corp proxys that block websockets :(
425
u/[deleted] Jun 13 '19
[removed] — view removed comment