Redis pubsub using an event emitter for node.js