more memchached to redis refactoring