|
|
|
|
|
by ashray
4986 days ago
|
|
From the article comments: > It’s a quiet backwater. Collectively the sites would have maybe 20k unique visitors a day. 50k is a big day hereabouts. I'm not quite sure why this blog is such a huge problem to host. It appears that the author has some customizations (plugins..) that are really slow. In fact, I would suggest to the author to hire a good developer, fix those core issues (say slow SQL queries, etc.). It might cost him a few thousand dollars upfront, but he can continue running the site on $20-$60/month hosting. Paying $250/month for that kind of traffic sounds over the top to me. I know that Wordpress can be slow but it can also be quick. Why not route your traffic through cloudfront ? Why not leverage full page caching for anonymous users ? These are things worth looking at IMHO :) |
|
The slowest piece of code on the network today is the Recent Comments Widget. That's not a plugin, that's right there in the base install.
I worked this out myself, based on preliminary detective work by Page.ly. And then Page.ly went the rest of the way to ask a Wordpress core contributor for their opinion. The key issue is that this widget performs a query on the wp_comments table which becomes slower and slower as the number of comments rises. The only real fixes are either to move to Disqus (my bloggers said "no") or partition the table (Page.ly politely said that this was outside the scope of anything under their enterprise plans).
> Why not route your traffic through cloudfront ?
I do.
> Why not leverage full page caching for anonymous users ?
That too.
I also have memcached for the object cache, I use a tuned copy of PerconaDB and nginx is configured to serve static files and supercache-generated whole pages without ever touching PHP.
The blog post you read was served from a blog on that very blog network, on Linode servers in Tokyo that I once again personally managing.