Very Slow Request Execution

General discussion forum for the Zend Server
Post Reply
Posts: 2
Joined: Tue Sep 04, 2018 10:07 am

Very Slow Request Execution

Post by hutjem87 » Wed Sep 05, 2018 9:17 pm


This is the code to write and read from a data queue.
The code works but it is very slow, there is something that is not right but I do not know what it is.

$ToolkitSrvObj = ToolkitService::getInstance($Lg->server,$Lg->user,$Lg->pass,$Lg->transportType,$Lg->isPersistent); //echo $ToolkitSrvObj;
$Dq = new DataQueue($ToolkitSrvObj);

$Dq->SetDataQName($DataQQue, $libl);
$Dq->SendDataQueue(128, $KeyQueu , 0, $keyGet);

$data = $Dq->ReceieveDataQueue(30, 'EQ', 32, $keyGet, 'Y');

Could you lend me a hand.
Please help.

User avatar
Posts: 285
Joined: Thu Jan 22, 2009 3:16 pm

Re: Very Slow Request Execution

Post by zend_eyalt » Tue Oct 16, 2018 6:54 am

i suggest you might try running your code with Z-Ray enabled and that way you might determine which function is running slower than expected

Post Reply