memcached base formula