Skip to content

Precompiled bytecode for docker images #25

Description

@jackinloadup

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

Activity

  1. jackinloadup commented on Nov 7, 2018

    @jackinloadup
    ContributorAuthor

    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.

  2. changed the title [-]research possiblity of switching to file based opcache [/-] [+]Precompiled bytecode for docker images[/+] on Nov 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions