memcached helper