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:

    Girls tend to attribute their failures to factors such as lack of ability, while boys tend to attribute failure to specific factors, including teachers’ attitudes. Moreover, girls avoid situations in which failure is likely, whereas boys approach such situations as a challenge, indicating that failure differentially affects self-esteem.
    Michael Lewis (late–20th-century)