On Apr 7, 2012, at 11:14 AM, Pierre Joye <pierre....@gmail.com> wrote:

> On Sat, Apr 7, 2012 at 6:51 PM, Luke Scott <l...@cywh.com> wrote:
>
>> I think I understand what you're getting at. So to avoid fragmentation
>> you would have to have two independent memory spaces. Making non
>> persistent memory persistent would require copying from one space to
>> another. Is that correct?
>
> Yes, that's correct.
>
>> How is this handled in other platforms where you have an application
>> instance (with state, if that's the correct terminology)?
>
> Application server is something different. PHP is not one, as it could
> be possible to do that using the builtin web server (dev only :).

An application server would be cool though. I was thinking along the
lines of having each process be an instance of the application.. thus
the idea about persisting objects.

>> Are there any other options for reliably persisting objects/variables
>> (without having to recreate)?
>
> Something I have been discussed in the past with a couple of persons
> is to have a mechanism to automatically instantiate objects on request
> start. That's not persistent objects but that could already boost a
> little it the base foot print of some frameworks.

How would that work? I'm intrigued.

Luke

>
> Cheers,
> --
> Pierre
>
> @pierrejoye | http://blog.thepimp.net | http://www.libgd.org

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to