109 points · by Rauchg · 12y ago · 22 comments
I started using Socket.IO with python server, gevent-socketio (actually Flask-SocketIO that is based on gevent-socketio). But then the Socket.IO 1.0 came out 28 May 2014 and gevent-socketio is not yet updated. Not sure if there's any plan for it.
Another tricky part is that gevent-socketio doesn't play together with uwsgi so I had to move from uwsgi to gunicorn in order to use Socket.IO and also the latest gunicorn breaks Socket.IO support so must use gunicorn 0.16.1 instead of 0.19.1. A bit frustrating ride. But that's another story :-)
Socket.IO works the other way around since v 1.0, thanks to Engine.IO. It starts with long polling and tries to upgrade to WebSocket or Flash sockets if possible.
But later I went with gevent + gevent-websocket (gevent-socketio also uses it), and it's been working like a charm for me.
Socket.IO let's you control space invaders on your desktop realtime mobile browser with websockets, long polling, etc.
Is there another issue to be aware of?
I admit its FUD at this point
First I am here to promote my own library. Which is essentially different from SocketIO in that it acts as a more higher level abstraction providing you access to web framework like resources. It's on github and written in Python
Check it out if you have a minute: https://github.com/nadirhamid/oneline