switches from memcache to redis