WordPress Database Errors and the Post Hoc Fallacy

Glenn Reynolds at Instapundit mentioned WordPress today in not-so-flattering terms (emphasis added):

LIEBERMAN CAMPAIGN CRASHED OWN WEBSITE: “The server that hosted the joe2006.com Web site failed because it was overutilized and misconfigured.” That’s like when people send me a link to their underpowered WordPress blog, then it produces a “Database Error” message when too many people try to actually read it. I hate that. (Yeah, this happens elsewhere sometimes, but low-power WordPress blogs seem particularly susceptible.)

Until WordPress version 2.5, a failed database would generate error screens like the one below:

Note the nifty WordPress branding that appears at the top. Thanks to that, countless Diggers, Slashdotters, and the like began to associate WordPress with failure. This is a post hoc fallacy of course: plenty of sites that buckle under the loads brought by Digg are not powered by WordPress, and many WordPress sites that survive a slashdotting are powered by WordPress. But in both of those cases, it’s not obvious; no giant logo greets you to say “WordPress powers this site, which is staying up just fine!”

In my opinion, WordPress version 2.5 solved this problem the right way, by adding a non-branded database error message:

Other people, including both WordPress proponents and opponents, think WordPress lacks something by not allowing all of its users to handle heavy database stress. I’m not so sure.

Flexibility is a large part of what makes WordPress such a great application to write code for. If you let plugins do just about anything imaginable on every page load, there’s a good chance that a small host’s database won’t be able to handle all of that in the face of a slashdotting. And that’s okay. The vast majority of WordPress users won’t ever be slashdotted, and so they don’t need the extra complication, potential server problems, and plugin incompatibilities that built-in caching would produce.

If yours is the type of site that’s going to suffer under the Digg effect, then you can install one of the caching plugins to help you endure, or you can count on superior server resources. Everyone else will be just fine.

One Trackback

  1. By dustbury.com » Surely this means something on November 18, 2008 at 9:42 am

    […] not like he’s been kindly disposed toward the platform in the past, so I don’t know what to make of […]

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*