4 ms·
Just out of curiosity, why do you feel that php is well suited for the model?
by CSSer 5y ago
Just out of curiosity, why do you feel that php is well suited for the model?
- jolux 5y agoProbably the per-request nature of it when writing web apps.
- withinboredom 5y agoIt’s literally one execution per request (see php-fpm). It’s stateless-shared-nothing runtime by default.
- PetahNZ 5y agoYea as others have said, it's a shared nothing request model, but also single threaded, with built in memory and time limits, basically exactly how lambda runs (you can of course share memory, and multithread if you want to but its pretty uncommon practice in php).
- dehrmann 5y agoThe might be a nit, but this is more a limitation of how PHP has been used historically than the language itself.
- withinboredom 5y agoI don't really see it as a "limitation" as it really makes grokking the code much easier than other languages. Probably >95% of libraries out there make this assumption as well, so its not just "how it is used" but also the culture and existing code that make this assumption.
- RedWarrior 5y agoThat's an interesting way to put it