Screw websockets, it doesn't work the same way on all browsers, it doesn't work with some reverse proxies, it doesn't work on some PaaS and even those PaaS that advertise websockets sometimes have problems. And now even the frameworks with fallback support have problems.
For most applications long polling is enough. I blogged about my bad experiences with socket.io here: http://baudehlo.wordpress.com/2013/05/07/sockjs-multiple-channels-and-why-i-dumped-socket-io/ Everyone I know who used socket.io in the real world either had to disable everything but long polling, or switch to SockJS. On Sat, Jul 13, 2013 at 7:19 AM, Antoine van Wel <[email protected]>wrote: > Since I intend to use server push technology throughout all my webapps, > for which I'm currently using socket.io, I'm also very interested to > learn what specific problems you've encountered with socket.io. > > > Please share your experience! > > > Antoine > > > > > > On Sat, Jul 13, 2013 at 8:11 AM, Alex Kocharin <[email protected]> wrote: > >> >> err... guys, what is wrong with socket.io? I used socket.io for a long >> time (until moved to pure websockets 'cause screw ie6), and was quite happy >> with it then. >> >> >> >> On Tuesday, July 9, 2013 6:49:52 PM UTC+4, mgutz wrote: >>> >>> I've come to the same conclusion Meteor, Pusher and you have and that >>> SockJS is the way to go. I'm reluctant to use engine.io having >>> experienced socket.io from the same group. How long has socket.io 1.0 >>> been ready ready to release? Last I checked the socket.io repo master >>> branch doesn't even work and has not been updated in months. >>> >>> On Monday, July 8, 2013 9:04:47 AM UTC-7, Eric Mill wrote: >>>> >>>> Hi Oleg, >>>> >>>> Could you describe how simpleio would be preferable to using >>>> sockjs<http://sockjs.org/>? >>>> It was also borne out of frustration with socket.io, and I've had a >>>> great experience with it. >>>> >>>> -- Eric >>>> >>>> >>>> On Mon, Jul 8, 2013 at 9:27 AM, Oleg Slobodskoi >>>> <[email protected]>wrote: >>>> >>>>> Forgot to mention, that in-memory and mongodb storage adapters are >>>>> already in the package. >>>>> >>>>> >>>>> Am 08.07.2013 um 15:01 schrieb Oleg Slobodskoi <[email protected] >>>>> >: >>>>> >>>>> Hello there :) >>>>> >>>>> I have recently started a new project after lots of frustration with >>>>> socketio. Simpleio is not a full replacement of all the features of >>>>> socketio, but its actually everything one might need to create chatty like >>>>> messaging on any hosting using a long polling which works everywhere. Most >>>>> important design goals are: >>>>> >>>>> - support for router/balancer without sticky sessions (f.e. Heroku) >>>>> - optimized for horizontal scaling >>>>> - reliable message delivery (built-in delivery confirmation) >>>>> - multiplexing on the server and client >>>>> - lightweight client (appr. 2.5 kb minified and gzipped) >>>>> - simple client spec, which can be implemented easily in any >>>>> language >>>>> >>>>> Native clients for anroid and ios are will be usable in some weeks. >>>>> >>>>> Best, >>>>> Oleg >>>>> >>>>> http://github.com/kof/simpleio >>>>> >>>>> >>>>> >>>>> -- >>>>> -- >>>>> Job Board: http://jobs.nodejs.org/ >>>>> Posting guidelines: https://github.com/joyent/** >>>>> node/wiki/Mailing-List-**Posting-Guidelines<https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines> >>>>> You received this message because you are subscribed to the Google >>>>> Groups "nodejs" group. >>>>> To post to this group, send email to [email protected] >>>>> To unsubscribe from this group, send email to >>>>> [email protected] >>>>> For more options, visit this group at >>>>> http://groups.google.com/**group/nodejs?hl=en?hl=en<http://groups.google.com/group/nodejs?hl=en?hl=en> >>>>> >>>>> --- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "nodejs" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to [email protected]. >>>>> For more options, visit >>>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out> >>>>> . >>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> -- >>>>> Job Board: http://jobs.nodejs.org/ >>>>> Posting guidelines: https://github.com/joyent/** >>>>> node/wiki/Mailing-List-**Posting-Guidelines<https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines> >>>>> You received this message because you are subscribed to the Google >>>>> Groups "nodejs" group. >>>>> To post to this group, send email to [email protected] >>>>> To unsubscribe from this group, send email to >>>>> [email protected] >>>>> For more options, visit this group at >>>>> http://groups.google.com/**group/nodejs?hl=en?hl=en<http://groups.google.com/group/nodejs?hl=en?hl=en> >>>>> >>>>> --- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "nodejs" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to [email protected]. >>>>> For more options, visit >>>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out> >>>>> . >>>>> >>>>> >>>>> >>>> >>>> >>>> >>>> -- >>>> konklone.com | @konklone <https://twitter.com/konklone> >>>> >>> -- >> -- >> Job Board: http://jobs.nodejs.org/ >> Posting guidelines: >> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >> You received this message because you are subscribed to the Google >> Groups "nodejs" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/nodejs?hl=en?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "nodejs" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out. -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
