Re: PHP connection to external application

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux