add memcached handler and muti_thread handler