Slow Request Execution

General discussion forum for the Zend Server

Slow Request Execution

Postby davidsh on Wed May 31, 2017 8:38 am

Hello,

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.
Thanks.
davidsh
 
Posts: 5
Joined: Mon Jan 30, 2012 8:53 am

Re: Slow Request Execution

Postby shlomov on Tue Jun 27, 2017 1:10 pm

Is it a performance issue...do you get a response back?

else for using the data queue, please refer to our documentation for explanation and sample usage of the function.
http://files.zend.com/help/Zend-Server/ ... ethods.htm
Shlomo Vanunu
IBM System i
User avatar
shlomov
Zend Global Support
 
Posts: 137
Joined: Mon Dec 29, 2008 2:38 pm

Re: Slow Request Execution

Postby lupa238 on Sun Sep 17, 2017 4:06 pm

You right! shlomov
lupa238
 
Posts: 2
Joined: Thu Aug 31, 2017 5:47 pm


Return to Zend Server

Who is online

Users browsing this forum: No registered users and 1 guest