Increase stability and responsiveness by short-circuiting code

Keep your Web applications running when tasks lock up. High volume Web sites often require asynchronous or threaded operations to achieve target performance criteria. While threads in Web containers are considered bad practice, the alternative is for developers to make blocking calls to code they cannot control. It becomes important that dependencies of this nature fail-fast. This developerWorks article covers a homegrown short-circuit pattern that ensures threaded execution and completion of a process in a fixed window of time.


  1. 2004-10-21 4:59 am
  2. 2004-10-21 7:46 am
  3. 2004-10-21 11:40 am