Re: PHP connection to external application

From: Date: Sun, 15 Jun 2008 01:17:59 +0000
Subject: Re: PHP connection to external application
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-275401@lists.php.net to get a copy of this message
On 6/14/08, Per Jessen <per@computer.org> 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

« previous php.general (#275401) next »