Details
-
Type:
Performance Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.9.5
-
Fix Version/s: 1.9.6
-
Component/s: Zend_Queue
-
Labels:None
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".
Issue Links
| This issue is related to: | ||||
| ZF-8183 | Zend_Queue_Adapter_Memcacheq should only support its native capabilities |
|
|
|
Fixed in SVN commit # 18741