title: What is Redis pubsub and how do I use it?
body: <p>Somebody asked me what PubSub was and how to create a channel (in comment from <a href="https://stackoverflow.com/questions/6485624/socket-io-for-real-time-application/6485938#6485938">my answer</a>) and I pointed him to the article on redis.io => <a href="http://redis.io/topics/pubsub" rel="noreferrer">http://redis.io/topics/pubsub</a>. I think it is pretty clear, but I am wondering if somebody has a better explanation. Ideally, describe it clearly using <code>redis-cli</code>.</p>