title: How can I trigger events to fire on connected clients using node.js, sockets.io and redis?
body: <p>Ok, so I previously asked a <a href="https://stackoverflow.com/questions/8251479/in-node-js-what-storage-technologies-are-available-for-real-time-games/8251656#8251656">question</a> asking about my options, I have looked into sockets.io and redis, and really like what I see.</p>
  
  <p>Anyway, I would like to have multiple clients connected to a node.js server. Then when my redis db has a change, for example some boolean from 0 to 1, I want all node.js connections to send this update to all clients.</p>
  
  <p>I am not looking for some code to loop and check for this change, I am wondering how I can fire an event to specific clients when a change is made in a redis db. Any psuedo code to help me get my mind around this, would be awesome. I would also really appreciate any node.js code that shows how to hook an event to changes in a redis instance.</p>
  
  <p>Cheers, Josh</p>