Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Fail Safe, Fail Fast [Video]

DZone's Guide to

Fail Safe, Fail Fast [Video]

A prezi presentation on how to deal with various forms of failure when designing application architecture.

· DevOps Zone ·
Free Resource

Easily enforce open source policies in real time and reduce MTTRs from six weeks to six seconds with the Sonatype Nexus Platform. See for yourself - Free Vulnerability Scanner. 

When developing a rapid prototype it can make sense to put the emphasis on the "happy path" and not consider things like exception handling, edge cases, and failure.  Perhaps, once the prototype phase of the project is over the code will be thrown out or it will be refactored to deal with the real world.

In a production system we simply don't have luxury to only consider the happy path.  The more production system I have worked on the more types of failure I have being exposed to — some of it very painful. As my hair went greyer from these experiences, I couldn't help thinking more and more about how to make failure less painful. Who wants their pager going off for some silly reason? Nobody. If dealing with production code, we simply must think about how best to deal with various forms of failure. 

In this presentation I consider two engineering techniques that I think should always be on the architectural radar:

  • Fail fast
  • Fail safe


Automate open source governance at scale across the entire software supply chain with the Nexus Platform. Learn more.

Topics:
quality assurance ,failure ,devops ,continuous delivery

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}