Hacker News new | ask | show | jobs
by timw4mail 1340 days ago
So after looking at the slidedeck on the authors blog, I'm rather confused. How does FrankenPHP keep the code in memory if each request is in a separate memory space?
2 comments

They're probably using PHP's built in opcache or something they rolled themselves

  OPcache improves PHP performance by storing precompiled script bytecode in shared memory
https://www.php.net/manual/en/intro.opcache.php
See Preloading which landed in PHP 7.4 https://stitcher.io/blog/preloading-in-php-74