implement memcached checking