Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I moved to SockJS [1]. Socket.io itself was great but I had serious trouble to get socket.io server (gevent-socketio) working with Python and Flask.

SockJS has a decent JS client-lib and a good set of server counterparts. Node, python, erlang and java (using Vert.x).

Vert.x [1] combined with SockJS is especially powerful -- vert.x supports so called 'verticles' in multiple languages (JavaScript, Ruby, Java etc) that are running as tiny servers who can communicate over eventbus. Then the SockJS lib can be used to handle communication between the browser and Vert.x eventbus.

Probably not intended but I'm also using SockJS to communicate events between a Flask app in python and Vert.x java verticle.

[1] https://github.com/sockjs/sockjs-node

[2] http://vertx.io/



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: