gevent-socketio
gevent-socketio copied to clipboard
Backend stores
trafficstars
The JS SocketIO server has the notion of backend stores -- an idea we should steal! E.g. here's a RedisStore example: http://www.ranu.com.ar/2011/11/redisstore-and-rooms-with-socketio.html
The idea is that you specify a store and then all emit(), broadcast, etc are pushed through it.
We could allow a Namespace to specify a store, maybe? I'm not sure of the right place to do this. It looks like we may be able to simply swap out Socket.client_queue and Socket.server_queue to accomplish this?