Re:Handling server load for the Raspberry Pi Zero launch
by thrownear on Saturday November 28, 2015 @11:07AM
(#10641391)
Don't use Php anyway.
Re:Handling server load for the Raspberry Pi Zero launch
by djdjgd on Saturday November 28, 2015 @12:54PM
(#10641768)
And use what instead? Serious question.
Instead, this should be a critique of Wordpress, which is like almost any other successful software immensely bloated. There is nothing inherent in PHP promoting this verbosity. And even if you are dealing with large code bases, PHP's request-based execution model gives you good tools to just execute the codepaths you need. But in practice, little consideration goes into minimizing execution bloat and overhead. Of course there are reasons why WP is bloated, some of them bad, some good, some subject to debate. Caching and avoiding dynamic code execution will be a big part of optimizing any Wordpress install for the foreseeable future.
We're moving towards more bloat, not less. The best practices of many programming environments actively encourage us to disregard cycles and latencies. This happens in PHP, in Node, even in C++ frameworks.