Re: [RFC] Preloading

From: Date: Fri, 19 Oct 2018 18:38:30 +0000
Subject: Re: [RFC] Preloading
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-103344@lists.php.net to get a copy of this message
On Fri, Oct 19, 2018 at 1:17 AM, Dmitry Stogov <dmitry@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

« previous php.internals (#103344) next »