3 ms·
> There's also the nitpicky fact that the old way of running PHP was that every page request runs the code from scratch, meaning you have to build state each ti
by ivanhoe 7y ago
> There's also the nitpicky fact that the old way of running PHP was that every page request runs the code from scratch, meaning you have to build state each time which is profoundly expensive and inefficient,
This also means that you always have a clean state and makes horizontal scaling super easy. Also simplifies the code significantly, async code is much harder to debug and to reason about. Unless you really need top performance, and for most of use-cases you don't, running code through fast-cgi (especially with php-fpm) does the job just fine.