Blogging Fool

17 Dec, 2008

Before you get plugin crazy…let’s talk server load

Posted by: Blogging Fool In: Blog Setup|Blogging Mistakes|Blogging Tips|Web Hosting|Wordpress|Wordpress Plugins

I started disabling stuff that might put further strain on the server – turning off Nofollow Reciprocity, Tag Suggest Thing, WP Auto TaggerMost Recent Visitors and WassUp, my realtime stats recorder (instead I switched to the ole’ standby WordPress.com Stats since it does all its work over at Worpress’s servers) – anything I could thing of.  Don’t get me wrong – these are all amazing tools and ultimately not the real cause of the problem.

As I looked at the slow MySQL query logs again I kept seeing the same culprits:

SELECT ID, post_title, post_date, post_content, post_excerpt, (MATCH (post_content) AGAINST (’0 etc etc

Line after line of this stuff.  Then I had my aha moment (please forgive me if you are a programmer, I am writing for those who are just getting going here) – the database was being asked to look at all the header elements in some kind of wild search.

That would most likely happen if every time someone click on a blog post, the site was trying to return information based on all the other tags, categories, titles and bodies that I had defined for all the posts I had ever written.

I went to YARPP’s homepage and sure enough at the bottom, the author plainly states:

Does YARPP slow down my blog/server?

A little bit, yes. Every time you display a post with automatic display of related posts (or one of the related_*() functions) it will calculate the related posts, which can be a database-intensive operation. I highly recommend all YARPP users use a page-caching plugin, such as WP-SuperCache. For the majority of users, this type of caching will be enough to stem the performance issues.

Share

No Responses to "Before you get plugin crazy…let’s talk server load"

Comment Form


  • Blogging Fool: Ideally, yes.
  • Abigail: Thank you, I am a newbie at all this, that description of anchor text is great. Thank you. Do you use your keywords that you want to rank for, as an
  • Blogging Fool: A blog is a content management system "CMS" whose etymology is the longer term "web log" - developed by a man who wanted to create a journal of his in

About

Blogging Fool has been running internet communities since the days of Lynx, Veronica and gopher but only really understood the heart and soul of blogging as late as 2008. He has been invited to speak about emerging media strategies at conferences across North America.

Sign up for my private newsletter!

Name:
E-mail address:
Blogging Fool
Subscribe

Twitter links powered by Tweet This v1.8.3, a WordPress plugin for Twitter.