Contingency Design - More Ideas for mySQL Failures

Published in Web Development on Tuesday, June 8th, 2004

Tips for better error handling and contingency design when your mySQL server goes down.

Life's sense of humour

A mere 24 hours after my original post on contingency design and your mySQL server, life served up a case of lemon flavored twisted irony.

I was going to apply the ideas to a clients site when I had a spare moment, but I was too late when the client suddenly calls and asks "what's with the error message on our site? mySQL server can't connect?".

Great, I'm looking really good here (which of course is more important then how they look to potential clients).

A different message

Luckily my own advice was fresh in my head, but this time rather than leveraging google to help out, we did three things:

  1. We provided a phone number where the company could be contacted along with it's business hours.
  2. We provided a 'Bookmark this page' link (internet explorer only), encouraging the user to check back later.
  3. As it was the mySQL db that was down, we set up a quick and dirty version of a 'Let us call you back' form, where the user could enter their phone number and a time of day to be contacted (the client has this feature on their site already).

Result?

In the end the client was happy, and we were asked to go ahead and plug any such holes that may exist in the site. No problem, after all, anything can be done, for a price!

Comments and Feedback

Some good ideas, Mike

This topic seems to be everybody\'s new darling (at least regarding all the new entries in my Feed Reader ;)) which isn\'t a bad thing, is it?

Thanks Minz, I really like the whole idea. Trouble is, one can get carried away with all of the possibilities.

For example, we have a real-estate site that updates it\'s db every evening. The property listings are spidered and in Google, and so there is potential for surfers to click thru from Google to a listing that no longer exists. What to do?

For now, we simply apologize and refer them to the search tool, however we could do somthing where we run the referring keywords though the site\'s keyword search. This would give the user alternate options right away. A good idea, but will the client see it as worthwhile, and pay for it?

Check out the blog categories for older content