drupal-dev-docker icon indicating copy to clipboard operation
drupal-dev-docker copied to clipboard

Precompiled bytecode for docker images

Open jackinloadup opened this issue 7 years ago • 1 comments

Used on AORG atm

Looks to be a great win especially if we can package the file cache inside docker.

https://medium.com/@dylanwenzlau/500x-faster-caching-than-redis-memcache-apc-in-php-hhvm-dcd26e8447ad

; configuration for php opcache module ; priority=10 zend_extension=opcache.so opcache.file_cache=/var/php/opcache opcache.file_cache_only=1 # Useful for CLI opcache.file_cache_consistency_checks=1 opcache.memory_consumption=128 # MB opcache.max_accelerated_files=10000 opcache.max_wasted_percentage=10

jackinloadup avatar Jun 26 '18 18:06 jackinloadup

Drupal startup time and opcache - faster scaling for PHP in containerized environments - Jeff Geerling.

His assessment doesn't quite look into precompiled delivery. It looks more into speeding up the normal boot compile process via possible PHP 7.4 functionality called Preloading which is currently in RFC phase.

jackinloadup avatar Nov 07 '18 12:11 jackinloadup