On Fri, Oct 19, 2018 at 1:17 AM, Dmitry Stogov <dmi...@zend.com> wrote:

> Hi Internals,
>
> I would like to start discussion on a Preloadng RFC
> https://wiki.php.net/rfc/preload
>
> This technology would allow loading some PHP files on server startup and
> make all the defined classes and functions to be permanently available in
> the context of future request (without any includes). Despite of
> performance improvement, this technology is going to be used in conjunction
> with ext/FFI and JIT.
>
>
> The implementation is not 100% complete, it misses support for ZTS,
> because of a error in ZTS interned strings implementation.
>
> I'll try to fix this in nearest week(s).
>

Definitely cool.

I think it is going to make the file-cache more important as deploy
mechanisms are now going to be more likely to do a full cache reset on a
deploy so being able to quickly repopulate the shared memory cache from the
file cache might help lessen the perf hit of the cache reset.

-Rasmus

Reply via email to