News for hackers. Stuff that matters.
Re:Show HN: FrankenPHP, an app server for PHP written in Go by bdg on Saturday October 15, 2022 @10:57AM (#33215399)
It's a cool idea but I haven't explored this in detail so I don't have a good answer. I haven't touched PHP in 2 years but they have a new feature which might achieve some of those design goals you mentioned:

https://www.php.net/manual/en/opcache.preloading.php

> preload.php is an arbitrary file that will run once at server startup (PHP-FPM, mod_php, etc.) and load code into persistent memory.

It's interesting to me, because in a big ecomm framework we were getting 80ms PHP page loads, with something like preload it could probably be moved down to 25 or 30ms.

There are no comments on this comment yet.