Subscribe on channel by criteria
Im looking for some tool that provides pub/sub model, but instead string channels allows to subscribe on some data by cri开发者_如何学Pythonteria.
I need to publish message to websocket connections each of them correspond to authenticated userwho fit numeric range mongodb query.
Read this: http://redis.io/topics/pubsub
Redis allows pattern-based subscription (not by regexp though, but allows asterisk operator).
精彩评论