When you scale your app on PaaS like Cloud Foundry (Free sign up available at Sign up at: https://my.cloudfoundry.com/signup/cl..., you need to deal with issues like sticky sessions, scale-up/down, instance crash/restart, and more for apps that will scale. This video will show you how to manage these scaling requirements.
Blog: http://blog.cloudfoundry.com/2013/01/...
Source code: https://github.com/rajaraodv/redispubsub