Fail-fast

Fail-fast

Fail-fast is a property of a system or module with respect to its response to failures. A fail-fast system is designed to immediately report at its interface any failure or condition that is likely to lead to failure. Fail-fast systems are usually designed to stop normal operation rather than attempt to continue a possibly-flawed process. Such designs often check the system's state at several points in an operation, so any failures can be detected early. A fail-fast module passes the responsibility for handling errors, but not detecting them, to the next-higher system design level. Fail-fast is also sometimes called "fail-stop".

Fail-fast systems or modules are desirable in several circumstances:

* When building a fault-tolerant system by means of redundant components, the individual components should be fail-fast to give the system enough information to successfully tolerate a failure.
* Fail-fast components are often used in situations where failure in one component might not be visible until it leads to failure in another component.
* Finding the cause of a failure is easier in a fail-fast system, because the system reports the failure with as much information as possible as close to the time of failure as possible. In a fault-tolerant system, the failure might go undetected, whereas in a system that is neither fault-tolerant nor fail-fast the failure might be temporarily hidden until it causes some seemingly-unrelated problem later.
* A fail-fast system that is designed to halt as well as report the error on failure is less likely to erroneously perform an irreversible or costly operation.

Examples

From the field of software engineering, a Fail Fast Iterator is an Iterator that attempts to raise an error if the sequence of elements processed by the Iterator is changed during Iteration.

See also

*Failing badly
*Failing well
*Fail-safe

External links

* [http://www.martinfowler.com/ieeeSoftware/failFast.pdf "Fail Fast" Article by Jim Shore explaining using 'Fail Fast' concept in software development] (from 'columns for IEEE software' edited by Martin Fowler)


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • Fast — • Abstinence from food or drink Catholic Encyclopedia. Kevin Knight. 2006. Fast     Fast     † Catholic …   Catholic encyclopedia

  • Fast breeder reactor — The fast breeder or fast breeder reactor (FBR) is a fast neutron reactor designed to breed fuel by producing more fissile material than it consumes. The FBR is one possible type of breeder reactor. The reactors are used in nuclear power plants to …   Wikipedia

  • Fast Show characters — The Fast Show featured many memorable characters. They are listed here by performer.Charlie Higson* Bob Fleming (Higson), the host of Country Matters , who has an extremely bad cough. Sometimes accompanied by one of his friends: sneezing Clive… …   Wikipedia

  • Fianna Fail — Fianna Fáil Vorsitz Brian Cowen Gründung 23. März 1926 Ideologie Konservatismus / …   Deutsch Wikipedia

  • Fianna Fáil — Partei­vorsitzender Micheál Martin …   Deutsch Wikipedia

  • New Fast Automatic Daffodils — Origin Manchester, England Genres Alternative rock Madchester Years active 1988–1995 Labels Playtime / Play It Ag …   Wikipedia

  • Water of Fail — The Water of Fail or River Fail is a fast flowing river in South Ayrshire, Scotland. It flows from near Ayr up through some hills down past Tarbolton Loch into Montgomery Woods where it joins the larger River Ayr at Failford, which carries its… …   Wikipedia

  • Integral Fast Reactor — The Integral Fast Reactor or Advanced Liquid Metal Reactor is a design for a nuclear fast reactor with a specialized nuclear fuel cycle. A prototype of the reactor was built in the United States, but the project was canceled by the U.S.… …   Wikipedia

  • Live Fast, Diarrhea — Infobox Album | Name = Live Fast, Diarrhea Type = Album Artist = The Vandals Released = October 1995 Recorded = Genre = Punk rock Length = 31:40 Label = Nitro Producer = Warren Fitzgerald Reviews = *Allmusic Rating|1.5|5… …   Wikipedia

  • Make Money Fast — Dave Rhodes redirects here. For other uses, see David Rhodes. MAKE.MONEY.FAST is a title of an electronically forwarded chain letter which became so infamous that the term is now used to describe all sorts of chain letters forwarded over the… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”