3

I'm launching a new site soon and I expect it to make it into mainstream media. At this point, I'm not sure our server will be able to handle all of the requests.

Is there a way that I can detect the server running too slow so that I can just serve a static HTML page (similar to how Twitter does this)? Are there tools out there?

Unfortunately I haven't dealt with this before, a Google search doesn't give me any answers other than: make sure you loadtest your site. We did, and it's not bad, but I want a fallback. Installing it on a huge server isn't an option.

I'm using Win2008 and IIS7 on the server.

2 Answers2

1

Twitter displays the fail whale in reaction to HTTP Error 503. Therefore all you need is a customized error page for this error code.

0

I won't claim this as an elegant idea... but I've done it for "maintenance mode" type activities.

Create a customized 404 page (not found) and configure IIS to use it. Now move/rename the web site. Every attempt will get that 404 page.

Chris_K
  • 3,434