gevent-socketio icon indicating copy to clipboard operation
gevent-socketio copied to clipboard

Backend stores

Open philipn opened this issue 13 years ago • 0 comments
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?

philipn avatar Aug 01 '12 23:08 philipn