Websockets browser support: http://caniuse.com/#feat=websockets
I let socket.io worry about that. Great library.
The step towards standardization will make this type of cross "platform" compatibility easier in the long run.
21–30 of 47 posts
Websockets browser support: http://caniuse.com/#feat=websockets
I let socket.io worry about that. Great library.
The step towards standardization will make this type of cross "platform" compatibility easier in the long run.
What's the best option for using websockets with Python? WSGI doesn't support it ( http://librelist.com/browser//flask/2010/9/1/flask-and-webso... ). gevent is an option ( http://blog.pythonisito.com/2011/07/gevent-zeromq-websockets... ), but would something like Mongrel2 be better ( http://mongrel2.org/ )? UPDATE: There's also Juggernaut ( http://flask.pocoo.org/snippets/80/ ), which uses node.js under the hood.
What's the best option for using websockets with Python? WSGI doesn't support it ( http://librelist.com/browser//flask/2010/9/1/flask-and-webso... ). gevent is an option ( http://blog.pythonisito.com/2011/07/gevent-zeromq-websockets... ), but would something like Mongrel2 be better ( http://mongrel2.org/ )? UPDATE: There's also Juggernaut ( http://flask.pocoo.org/snippets/80/ ), which uses node.js under the hood.
What's the best option for using websockets with Python? WSGI doesn't support it ( http://librelist.com/browser//flask/2010/9/1/flask-and-webso... ). gevent is an option ( http://blog.pythonisito.com/2011/07/gevent-zeromq-websockets... ), but would something like Mongrel2 be better ( http://mongrel2.org/ )? UPDATE: There's also Juggernaut ( http://flask.pocoo.org/snippets/80/ ), which uses node.js under the hood.
Twisted gives you the foundation for pretty amazing things to start with, and txWS does a good job of adding WebSockets.
Earlier quoted context omitted.
Oh boy. Pretty soon we will need UDP sockets in the browser.
WS is already kind of fire-and-forget. Socket.IO supports that, and can handle thousands of messages/second, I don't think that will be needed.
I look forward to pushing this to the absolute limit. Chat? Can we do something cool with voice? What about websites-as-desktop-software that started when Ajax got cool, but paused when developers ran into the limits of Ajax? How far can that now go? GPS services?
Earlier quoted context omitted.
WS is already kind of fire-and-forget. Socket.IO supports that, and can handle thousands of messages/second, I don't think that will be needed.
Except, it's implemented on top of TCP. So you still have the head-of-line blocking problem. In a real-time application like games, if some congestion causes a few packets to be dropped, you don't care about them any more (assuming your protocol gives absolute positions of everyone involved); but in TCP, they will be retransmitted, and later packets queued until it can catch up. As websockets are based on TCP, you ca…
What's the best option for using websockets with Python? WSGI doesn't support it ( http://librelist.com/browser//flask/2010/9/1/flask-and-webso... ). gevent is an option ( http://blog.pythonisito.com/2011/07/gevent-zeromq-websockets... ), but would something like Mongrel2 be better ( http://mongrel2.org/ )? UPDATE: There's also Juggernaut ( http://flask.pocoo.org/snippets/80/ ), which uses node.js under the hood.
Disclaimer: I work for Pusher.
What's the best option for using websockets with Python? WSGI doesn't support it ( http://librelist.com/browser//flask/2010/9/1/flask-and-webso... ). gevent is an option ( http://blog.pythonisito.com/2011/07/gevent-zeromq-websockets... ), but would something like Mongrel2 be better ( http://mongrel2.org/ )? UPDATE: There's also Juggernaut ( http://flask.pocoo.org/snippets/80/ ), which uses node.js under the hood.
https://github.com/MostAwesomeDude/txWS Twisted gives you the foundation for pretty amazing things to start with, and txWS does a good job of adding WebSockets.
What's the best option for using websockets with Python? WSGI doesn't support it ( http://librelist.com/browser//flask/2010/9/1/flask-and-webso... ). gevent is an option ( http://blog.pythonisito.com/2011/07/gevent-zeromq-websockets... ), but would something like Mongrel2 be better ( http://mongrel2.org/ )? UPDATE: There's also Juggernaut ( http://flask.pocoo.org/snippets/80/ ), which uses node.js under the hood.
https://github.com/oberstet/Autobahn is another option