Re: Re: Persistent PHP web application?

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

 



> Why don't you just create a daemon started from the command line 
> (shell/DOS) and have it accept socket connections from your Web server 
> PHP scripts and provide a SOA (Services Oriented API) to the code that 
> accesses your data structures pre-loaded in memory?

Setting up a separate persistent daemon PHP script is appealing to me
because It implements exactly what I want, which is a persistent PHP
application server, and also would allow me to abstract the
implementation behind an API, move it to other servers when load
increases, etc.

However, would a single process PHP server daemon be able to
appropriately handle the incoming load from Apache, which will be
running multiple processes handling concurrent incoming requests?
Implementing a multi-process forking SOAP server in pure PHP seems
inefficient, but maybe I'm not understanding the basic
premise/implementation of the suggestion?

Any good links/tutorials/examples/books for this?

Thanks!
/josh w.

-- 
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