Re: Persistent PHP web application?
| From: | Manuel Lemos | Date: | Mon, 03 Jan 2005 18:21:35 +0000 |
| Subject: | Re: Persistent PHP web application? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-205543@lists.php.net to get a copy of this message | ||
Hello,
on 01/03/2005 02:28 PM Josh Whiting said the following:
* - Please note that I am using the Zend Accelerator (on Redhat Enterprise with Apache 1.3) to cache the intermediate compiled PHP code. My benchmarks (7ms+) are after the dramatic speedup provided by the accelerator. I wouldn't even bother benchmarking this without the compiler cache, but it is clear that a compiler cache does not prevent PHP from still having to run the (ableit precompiled) array and function definition code itself.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? -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ PHP Reviews - Reviews of PHP books and other products http://www.phpclasses.org/reviews/ Metastorage - Data object relational mapping layer generator http://www.meta-language.net/metastorage.html