Ostrich Algorithm - Hybrid Approach

Hybrid Approach

Hybrid approach to using Ostrich algorithm is determining that the exceedingly rare case does not happen, and then switching from another costly algorithm to this one. The trade-off here is that if circumstances change or are unaccounted for, the rare problem may re-occur.

An example can be found in the Non Hard-Locking ReadWriteLocker site, where one has the option to determine where deadlocks might occur, and then turn off deadlock detection once one determines it doesn't need to be used.

Read more about this topic:  Ostrich Algorithm

Famous quotes containing the word approach:

    This is an approach to that universal language which men have sought in vain.
    Henry David Thoreau (1817–1862)