LINQed IN

Blog and resources on C# and .NET related software development stuff by Troy Magennis 
Welcome to LINQed IN Sign in | Join | Help
in
Home Blogs Files

LINQed IN - Troy Magennis' View on .NET, C# and Software Development

Failing Gracefully - Limited Functionality Mode on Failure

I was impressed on a project a few years ago (CommSee Case Study) that the architecture allowed as much of the application to run (albeit in a limited fashion) even when the database server was in-accessible for some reason (other services relying on web-services still operated); They called it Limited Service Mode. For real-time customer facing systems, there must be some functionality that is available when a resource has failed. It is all too easy to design a system that fails completely leaving end-users with no sign-of-life when operating conditions degrade. 

What are some of the aspects to consider when desiging in this sort of feature:

  1. Offline Mode - Can the application be built to operate offline and synchronize when network connection of database functionality resumes?
  2. If data is retrieved and sent to web-services, can the server-side start queuing these requests, and catch-up when the DB or SOA bus is restored?
  3. If it is a public website, at least the home page and contact us page should display, even if it is only in one language (hopefully the language which gets the majority of hits)
  4. Not all actions should be allowed; If data or financial loss could occur, then that feature isn't a candidate for use when in limited functionality mode

It is an interesting thought experiment; When you are writing your next feature have a think about how you could improve its end-user experience in the case of a network, database or other failure mode.

Troy.

Published Monday, December 03, 2007 4:23 AM by Troy.Magennis
Filed Under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

No Comments

What do you think?

(required) 
(optional)
(required) 

This Blog

Post Calendar

<December 2007>
SuMoTuWeThFrSa
2526272829301
2345678
9101112131415
16171819202122
23242526272829
303112345

News

I'm in Seattle, WA at the moment and will be for the next couple of months. Enjoying my holidays and as you can see i'm getting to spends some time on my laptop writing a few blog posts!

Syndication

Powered by Community Server, by Telligent Systems