Replacing in memory cache with redis