ZF-8182: Zend_Queue_Adapter_Memcacheq should not open new socket each time send() is called
Description
Method send() calls isExists() that calls getQueues() that in turn calls _sendCommand() that opens new socket each time it's called. This is real performance killer and even leads to denial of service due to reaching sockets limit on heavy writes.
I would suggest either lazy opening single socket and holding it around, or completely remove isExists() call from send() because it's useless anyway - in Memcacheq, queues are created on-the-fly, so they always "exist".
Comments
Posted by Justin Plock (jplock) on 2009-10-30T09:29:24.000+0000
Fixed in SVN commit # 18741