The way the Heroku add-ons work (`redistogo`, `rediscloud`) is that they add an environment variable to your Heroku environment (`REDISTOGO_URL`, `REDISCLOUD_URL`). Checking for the presence of these two addons just makes life easier when running on Heroku. The third one, REDIS_URL, is meant for when running a server on a not-Heroku service