Hi,
here my php code where I send the
...
$cmd = array(
array(
'cmd' => 'inlinepush',
'params' => array(
'password' => $this->password,
'raw' => 'postmsg',
'channel' => $channel ? $channel :
$this->channel,
'data' => array(
'type' => $type,
'msg' => base64_encode(
json_encode( $message ) )
)
)
)
);
$path = $this->serverPath.rawurlencode( json_encode( $cmd ) );
$clock = new Alg_Time_Clock();
$rawMessage = @file_get_contents( $path );
$timeNeeded = $clock->stop(3,3); // time track
....
The APE-Server and the application are in the same server. The connection
is over https . APE does not support directly https, so I use stunnel on
port 6970 to forward the https messages to APE.
In average the time needed to send the message to the APE-Server is 100-200
ms. Is this normal? I think this is to much.
How can I measure the performance on the ape side? Where can I put the logs?
Thanks in advance.
--
--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/
---
You received this message because you are subscribed to the Google Groups "APE
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.