Thursday, January 1, 2015

Websockets chat in Python

I've made a simple Websockets server in Python using Flask + gevent-websocket.

The idea was taken from

It uses Redis Pub/Sub subsystem to ensure that all connected clients receive the messages, even if there are several Gunicorn workers.

See the code here:

Feel free to comment and improve.

No comments:

Post a Comment