mranney/node_redis — pull request #604 by liorsion (2014-06-15 04:18:07+00:00)
Title: add specific event type

The way I see it, there are two distinct types of events used with redis: worker queue and events. The main difference is that with the first, an event needs to be handled once, with the 2nd - multiple number of times.

When using redis the 2nd way, you usually have limited SHARED clients (because you don't want to have one connection to redis per client), and so each client in effect receives EVERYONE's messages, and filters them - this is error prone and heavy because it needs to be done for each client.

This change makes it possible to only listen to the event you subscribe to.