Pavel Shevaev wrote:
These fat server processes with preloaded application environment are
sitting in the memory waiting for requests to come and once they come
there's no IO penalty for loading Ruby code because it's already
loaded. The good thing is that since the server is written with Ruby
it's possible to specify exactly which files should be preloaded.
That's why i think they don't need any sort of opcode cache...

I think PHP applications could benefit of this approach as well and
the question remains - is it possible?
Zend_Http_Server will (partly) allow you to do this.  Classes loaded before the server starts listening will be available to all child processes without further loading/parsing.  Classes loaded by the child processes themselves will be freed/loaded each time.

--
Mat Scales
Developer, Magic Number Media Ltd

e: [EMAIL PROTECTED]   |    t: 0114 201 5708   |    f: 0114 221 1834   |    w: http://www.magicnumber.co.uk
© Magic Number Media Ltd 2004, reproduction prohibited without express permission.

Magic Number Media Ltd is a registered company in England and Wales. Company No. 5241998.

Reply via email to