News for hackers. Stuff that matters.
Re:PHP in 2020 by ivanhoe on Wednesday January 22, 2020 @04:47AM (#22116043)
> 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.

There are no comments on this comment yet.