4 ms·
It wasn't that configuring opcode caches is complicated or difficult. It's that they locked up every few days, no matter which one I used or how I configured th
by jacques_chester 11y ago
It wasn't that configuring opcode caches is complicated or difficult. It's that they locked up every few days, no matter which one I used or how I configured them.
At the point where I wrote a cron script to kill PHP every 24 hours, I realised the extra few percent weren't worth it.
Maybe it's improved, but: four times bitten, twice shy.
> Nginx stores the pages in RAM in a tree-like structure with pretty fast access times.
On disk caching delegates this to the OS, which is pretty good at it.
Badly behaved plugins and themes are not a solvable problem on Wordpress, because it's essentially a cooperative multitasking environment. One bad actor can hog all the resources and there's no way to constrain it.
It seems as though very few plugin authors know what O-notation means (so many nested loops), what EXPLAIN QUERY is or that tinkering and and firing up a copy on your laptop isn't really testing.
- lamosty 11y ago> Maybe it's improved, but: four times bitten, twice shy. I see, happens all the time. > On disk caching delegates this to the OS, which is pretty good at it. Yeah, it's just a matter of preference and convenience. > It seems as though very few plugin authors know what O-notation means (so many nested loops), what EXPLAIN QUERY is or that tinkering and and firing up a copy on your laptop isn't really testing. This is the real issue. I know a very few WordPress developers who have a formal technical education. While you can learn it yourself, school forces you to learn this in a great detail. In a near future, I will hopefully write on these topics, though, I need to study on this a bit more first.
- jacques_chester 11y agoWell in the old days, the operating system was there to help you. If plugins were standalone processes, they could be resource-constrained. But they all have to run in-process because of the LAMP architecture. Hence -- cooperative multitasking. I've been complaining about it for years. Eg: http://clubtroppo.com.au/2008/07/10/shared-hosting-is-doomed-and-i-have-the-graphs-to-prove-it/ http://clubtroppo.com.au/2008/07/10/shared-hosting-is-doomed...
- lamosty 11y agoThanks for the article, it's insightful and I & history agree completely with you. Nowadays, people are using prebuilt VPS images or automation scripts to provision their servers and shared hostings are becoming more of a VPS hostings with a good UI around these tools. I see that you are a WordPress veteran, nice to hear your opinions :)