Re: [PHP] PHP connection to external application
- Date: Sun, 15 Jun 2008 11:17:59 +1000
- From: hce <webmail.hce@xxxxxxxxx>
- Subject: Re: [PHP] PHP connection to external application
On 6/14/08, Per Jessen <per@xxxxxxxxxxxx> wrote:
> hce wrote:
>
> > Anyway, thanks for all your responses and suggestions. It was good
> > suggestion to use SOAP and Web services, but we have very small
> > latency requirement, I have already worried about the delay in the
> > lower level of socket, it will be evern more processing delays for
> > useing SOAP and Web services.
>
>
> Agree - it's only extra overhead.
>
> Jim, if I were you, I'd go for the socket-communication, i.e. TCP. That
> setup is being used for all kinds of stuff - unless your latency
> requirements are extreme, I think TCP will be fine.
Thanks Per. Yes, I'll indeed use the socket connection which will be
the minimum process delays and overheads I can get.
In option 2 you responsed:
> System V message queues are intended for just that; IPC = Inter Process
> Communication.
The delays and overheads in message queue (in my option 2) may be
smaller than the socket, but I guess that might require the external C
server to be compiled with the PHP module as they are totally
seperated.
Thank you.
Kind Regards.
Jim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php