On 07/22/2011 10:59 AM, Ferenc Kovacs wrote: > On Fri, Jul 22, 2011 at 7:04 PM, Pierre Joye <pierre....@gmail.com> wrote: >> yeah, just re read it and I realized that I miss the zend guard part, >> which is definitively not on my todos, and will never be :) >> >> On Fri, Jul 22, 2011 at 6:46 PM, Rasmus Lerdorf <ras...@lerdorf.com> wrote: >>> The original question was for something akin to Zend Guard which is an >>> encryption mechanism. There really are no plans for that. >>> >>> -Rasmus >>> > > John maybe mentioned Zend Guard as an example, but imp he didn't > suggested to add the feature set of ZG, only that it would be a nice > feature, if APC would support dumping/restoring the cache. > this way for example you could add this to your build/deployment > workflow, so you don't have to warmup your cache on N machine for > optimal performance.
Ah, but if it is for performance reasons, there is very little to be gained. The big win with APC comes from eliminating disk activity by pointing the executor directly at the op_array along with the in-memory function and class caches stored in shared memory. Restoring these from disk and sorting out where things go in memory is not going to be any quicker than simply recompiling the file. If we had a better opcode structure it theoretically could be faster, but as it is it would take a lot of work to get very small gains. -Rasmus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php