add memcache redis support