On Friday 22 July 2011 11:17 AM, Rasmus Lerdorf wrote:
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.

apc_bin_load/_dump() functions clearly illustrate how this does not
really give any benefit for an apache based instance.

Although, it does work really well if you are say, running phpunit
tests with a large project (and yeah, I've got a bug to fix for the
drupal/drush folks).

Cheers,
Gopal
--
http://notmysock.org/blog/

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

Reply via email to